diff --git a/MyTracks/AndroidManifest.xml b/MyTracks/AndroidManifest.xml
index fc256591d..34fbb187e 100755
--- a/MyTracks/AndroidManifest.xml
+++ b/MyTracks/AndroidManifest.xml
@@ -22,19 +22,16 @@ limitations under the License.
-
-
-
@@ -46,18 +43,14 @@ limitations under the License.
-
-
-
-
-
-
@@ -143,21 +134,16 @@ limitations under the License.
-
+
-
+ android:name="com.google.android.apps.mytracks.ImportActivity" >
-
@@ -172,17 +158,17 @@ limitations under the License.
+ android:name="com.google.android.apps.mytracks.MarkerEditActivity" />
+ android:value="com.google.android.apps.mytracks.SearchListActivity" />
+
+ android:name="com.google.android.apps.mytracks.SearchListActivity" >
@@ -196,37 +182,26 @@ limitations under the License.
android:name="com.google.android.apps.mytracks.SensorStateActivity" />
-
-
-
-
+ android:name="com.google.android.apps.mytracks.SettingsActivity" />
-
+
+
+ android:value="com.google.android.apps.mytracks.SearchListActivity" />
-
-
-
+
+
+
-
-
-
-
-
-
-
+
-
+
@@ -247,7 +222,7 @@ limitations under the License.
android:label="@string/my_tracks_recording_service"
android:name="com.google.android.apps.mytracks.services.TrackRecordingService"
android:permission="com.google.android.apps.mytracks.WRITE_TRACK_DATA" />
-
+
@@ -264,7 +239,7 @@ limitations under the License.
android:name="android.appwidget.provider"
android:resource="@xml/track_widget_info" />
-
+
-
-
-
\ No newline at end of file
+
+
+
+
diff --git a/MyTracks/res/layout/about.xml b/MyTracks/res/layout/about.xml
index 4e73b7c0e..e98c5982f 100644
--- a/MyTracks/res/layout/about.xml
+++ b/MyTracks/res/layout/about.xml
@@ -15,64 +15,35 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
-
+ style="@style/ScrollView" >
-
-
+ android:drawableLeft="@drawable/my_tracks_icon"
+ android:text="@string/about_copyright_notice"
+ style="@style/TextMedium.WithIcon" />
-
+ android:text="@string/about_version"
+ style="@style/TextLarge" />
-
+ style="@style/AboutValue" />
-
+ android:text="@string/about_support"
+ style="@style/TextLarge" />
-
+ android:text="@string/my_tracks_support_url"
+ style="@style/AboutValue" />
-
+ android:text="@string/about_privacy"
+ style="@style/TextLarge" />
+ android:text="@string/my_tracks_privacy_url"
+ style="@style/AboutValue" />
-
\ No newline at end of file
diff --git a/MyTracks/res/drawable/list_bar.xml b/MyTracks/res/layout/aggregated_stats.xml
similarity index 59%
rename from MyTracks/res/drawable/list_bar.xml
rename to MyTracks/res/layout/aggregated_stats.xml
index 82add4723..7c8f01024 100644
--- a/MyTracks/res/drawable/list_bar.xml
+++ b/MyTracks/res/layout/aggregated_stats.xml
@@ -1,6 +1,6 @@
-
-
-
+
+
+
+
+
\ No newline at end of file
diff --git a/MyTracks/res/layout/marker_list_item.xml b/MyTracks/res/layout/chart.xml
similarity index 57%
rename from MyTracks/res/layout/marker_list_item.xml
rename to MyTracks/res/layout/chart.xml
index a4bed83de..b5d169658 100644
--- a/MyTracks/res/layout/marker_list_item.xml
+++ b/MyTracks/res/layout/chart.xml
@@ -15,27 +15,21 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
+ android:orientation="vertical" >
+
+
-
-
-
-
-
+ android:paddingRight="8dp" />
\ No newline at end of file
diff --git a/MyTracks/res/layout/chart_settings.xml b/MyTracks/res/layout/chart_settings.xml
index e50ae4225..0df6d4eec 100644
--- a/MyTracks/res/layout/chart_settings.xml
+++ b/MyTracks/res/layout/chart_settings.xml
@@ -15,87 +15,52 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
-
+ style="@style/ScrollView" >
-
-
+ android:text="@string/chart_settings_x_axis"
+ style="@style/TextLarge.WithIcon" />
-
-
+ android:text="@string/chart_settings_by_distance"
+ style="@style/TextMedium" />
+ android:text="@string/chart_settings_by_time"
+ style="@style/TextMedium" />
-
-
+ android:text="@string/chart_settings_y_axis"
+ style="@style/TextLarge.WithIcon" />
-
+ android:text="@string/stats_elevation"
+ style="@style/TextMedium" />
-
+ android:text="@string/stats_speed"
+ style="@style/TextMedium" />
-
+ android:text="@string/sensor_state_power"
+ style="@style/TextMedium" />
-
+ android:text="@string/sensor_state_cadence"
+ style="@style/TextMedium" />
+ android:text="@string/sensor_state_heart_rate"
+ style="@style/TextMedium" />
-
\ No newline at end of file
diff --git a/MyTracks/res/layout/choose_map.xml b/MyTracks/res/layout/choose_map.xml
index 13f453177..4f5d00f94 100644
--- a/MyTracks/res/layout/choose_map.xml
+++ b/MyTracks/res/layout/choose_map.xml
@@ -14,32 +14,15 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-
-
+ android:layout_width="fill_parent" >
+ android:layout_width="fill_parent" />
-
+ style="@style/ListEmptyTextView" >
+
+
diff --git a/MyTracks/res/layout/choose_map_item.xml b/MyTracks/res/layout/choose_map_item.xml
index eb27429a1..20da468ef 100644
--- a/MyTracks/res/layout/choose_map_item.xml
+++ b/MyTracks/res/layout/choose_map_item.xml
@@ -15,33 +15,23 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
+ android:padding="8dp" >
+ android:id="@+id/choose_map_item_title"
+ android:singleLine="true"
+ style="@style/TextLarge" />
+ android:id="@+id/choose_map_item_description"
+ android:singleLine="false"
+ android:textColor="@android:color/secondary_text_dark"
+ style="@style/TextSmall" />
-
+ android:id="@+id/choose_map_item_search_status"
+ android:singleLine="true"
+ style="@style/TextSmall" />
+
\ No newline at end of file
diff --git a/MyTracks/res/layout/help.xml b/MyTracks/res/layout/help.xml
index dda328b77..d34e5020d 100644
--- a/MyTracks/res/layout/help.xml
+++ b/MyTracks/res/layout/help.xml
@@ -18,11 +18,103 @@ limitations under the License.
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:orientation="vertical" >
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/MyTracks/res/layout/help_content.xml b/MyTracks/res/layout/help_content.xml
deleted file mode 100644
index 162fe873c..000000000
--- a/MyTracks/res/layout/help_content.xml
+++ /dev/null
@@ -1,114 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/MyTracks/res/layout/track_list_item.xml b/MyTracks/res/layout/list_item.xml
similarity index 65%
rename from MyTracks/res/layout/track_list_item.xml
rename to MyTracks/res/layout/list_item.xml
index 7d21cd38a..fbe066805 100644
--- a/MyTracks/res/layout/track_list_item.xml
+++ b/MyTracks/res/layout/list_item.xml
@@ -26,29 +26,34 @@ limitations under the License.
android:layout_width="fill_parent"
android:orientation="horizontal" >
+ android:id="@+id/list_item_name"
+ android:singleLine="true"
+ style="@style/TextLarge.WithIcon" />
+ android:id="@+id/list_item_category"
+ android:layout_marginLeft="8dp"
+ android:singleLine="true"
+ style="@style/TextSmall" />
+ android:id="@+id/list_item_total_time"
+ android:layout_marginRight="8dp"
+ style="@style/ListItemStats" />
+ android:id="@+id/list_item_total_distance"
+ android:layout_marginRight="8dp"
+ style="@style/ListItemStats" />
+ android:id="@+id/list_item_start_time"
+ style="@style/ListItemStats" />
+ android:id="@+id/list_item_description"
+ android:singleLine="false"
+ android:textColor="@android:color/secondary_text_dark"
+ style="@style/TextSmall" />
\ No newline at end of file
diff --git a/MyTracks/res/layout/map.xml b/MyTracks/res/layout/map.xml
new file mode 100644
index 000000000..95f808304
--- /dev/null
+++ b/MyTracks/res/layout/map.xml
@@ -0,0 +1,50 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/MyTracks/res/layout/marker_add.xml b/MyTracks/res/layout/marker_add.xml
new file mode 100644
index 000000000..49d240da4
--- /dev/null
+++ b/MyTracks/res/layout/marker_add.xml
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/MyTracks/res/layout/marker_detail.xml b/MyTracks/res/layout/marker_detail.xml
index 80b481a03..cea950238 100644
--- a/MyTracks/res/layout/marker_detail.xml
+++ b/MyTracks/res/layout/marker_detail.xml
@@ -15,8 +15,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
+ style="@style/ScrollView" >
+ style="@style/TextLarge" />
+ android:id="@+id/marker_detail_waypoint_marker_type"
+ style="@style/TextLarge" />
+ android:id="@+id/marker_detail_waypoint_description"
+ style="@style/TextLarge" />
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
\ No newline at end of file
diff --git a/MyTracks/res/layout/marker_edit.xml b/MyTracks/res/layout/marker_edit.xml
index 9d3ee22d3..84379c705 100644
--- a/MyTracks/res/layout/marker_edit.xml
+++ b/MyTracks/res/layout/marker_edit.xml
@@ -18,10 +18,7 @@ limitations under the License.
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:orientation="vertical" >
-
+
+ android:id="@+id/marker_edit_statistics"
+ android:text="@string/marker_statistics"
+ style="@style/TextMedium" />
+ android:id="@+id/marker_edit_waypoint"
+ android:text="@string/marker_waypoint"
+ style="@style/TextMedium" />
-
+
+
+
+
+ android:text="@string/marker_edit_waypoint_marker_type"
+ style="@style/EditLabel.WithPaddingTop" />
+ style="@style/EditLabel.WithPaddingTop" />
diff --git a/MyTracks/res/layout/marker_list.xml b/MyTracks/res/layout/marker_list.xml
index 18a5936cf..53e230ab5 100644
--- a/MyTracks/res/layout/marker_list.xml
+++ b/MyTracks/res/layout/marker_list.xml
@@ -14,7 +14,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-
+ style="@style/ListEmptyTextView" >
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/MyTracks/res/layout/mytracks_charts.xml b/MyTracks/res/layout/mytracks_charts.xml
deleted file mode 100644
index e015f7676..000000000
--- a/MyTracks/res/layout/mytracks_charts.xml
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/MyTracks/res/layout/mytracks_layout.xml b/MyTracks/res/layout/mytracks_layout.xml
deleted file mode 100644
index 20fec4b55..000000000
--- a/MyTracks/res/layout/mytracks_layout.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/MyTracks/res/layout/mytracks_list_item.xml b/MyTracks/res/layout/mytracks_list_item.xml
deleted file mode 100644
index 798632cc0..000000000
--- a/MyTracks/res/layout/mytracks_list_item.xml
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/MyTracks/res/layout/search_list.xml b/MyTracks/res/layout/search_list.xml
index d26e26aab..21995c42c 100644
--- a/MyTracks/res/layout/search_list.xml
+++ b/MyTracks/res/layout/search_list.xml
@@ -14,21 +14,16 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-
-
+
-
-
\ No newline at end of file
+
+
+
\ No newline at end of file
diff --git a/MyTracks/res/layout/sensor_state.xml b/MyTracks/res/layout/sensor_state.xml
index 6a387c299..7a4088436 100644
--- a/MyTracks/res/layout/sensor_state.xml
+++ b/MyTracks/res/layout/sensor_state.xml
@@ -14,67 +14,53 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/MyTracks/res/layout/stats.xml b/MyTracks/res/layout/stats.xml
index d80189ce4..15b0e9c43 100644
--- a/MyTracks/res/layout/stats.xml
+++ b/MyTracks/res/layout/stats.xml
@@ -14,349 +14,43 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ android:padding="8dp"
+ android:shrinkColumns="0,2"
+ android:stretchColumns="0,2" >
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/MyTracks/res/layout/stats_core.xml b/MyTracks/res/layout/stats_core.xml
new file mode 100644
index 000000000..b8aabf48e
--- /dev/null
+++ b/MyTracks/res/layout/stats_core.xml
@@ -0,0 +1,116 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/MyTracks/res/layout/stats_settings.xml b/MyTracks/res/layout/stats_settings.xml
new file mode 100644
index 000000000..ed8b8f9ac
--- /dev/null
+++ b/MyTracks/res/layout/stats_settings.xml
@@ -0,0 +1,56 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/MyTracks/res/layout/track_detail.xml b/MyTracks/res/layout/track_detail.xml
index 1226d9ec0..e5ec73c2e 100644
--- a/MyTracks/res/layout/track_detail.xml
+++ b/MyTracks/res/layout/track_detail.xml
@@ -16,17 +16,17 @@ limitations under the License.
-->
+ android:layout_height="fill_parent"
+ android:layout_width="fill_parent" >
+ android:layout_width="fill_parent" />
\ No newline at end of file
diff --git a/MyTracks/res/layout/track_edit.xml b/MyTracks/res/layout/track_edit.xml
index 80877293a..8423ad403 100644
--- a/MyTracks/res/layout/track_edit.xml
+++ b/MyTracks/res/layout/track_edit.xml
@@ -18,10 +18,7 @@ limitations under the License.
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:orientation="vertical" >
-
+
+ style="@style/EditLabel.WithPaddingTop" />
+ style="@style/EditLabel.WithPaddingTop" />
-
+ android:orientation="vertical" >
+ android:visibility="gone"
+ style="@style/ListEmptyTextView" >
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/MyTracks/res/layout/track_widget.xml b/MyTracks/res/layout/track_widget.xml
index 958417227..c43096b4c 100644
--- a/MyTracks/res/layout/track_widget.xml
+++ b/MyTracks/res/layout/track_widget.xml
@@ -14,77 +14,71 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-
-
-
+
-
+ android:layout_width="wrap_content"
+ android:paddingLeft="10dp"
+ android:paddingRight="10dp"
+ android:src="@drawable/app_widget_button_disabled" />
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ android:layout_height="wrap_content"
+ android:layout_width="fill_parent"
+ android:orientation="horizontal" >
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/MyTracks/res/layout/upload_result.xml b/MyTracks/res/layout/upload_result.xml
index 65f20a9a5..8a95f2916 100644
--- a/MyTracks/res/layout/upload_result.xml
+++ b/MyTracks/res/layout/upload_result.xml
@@ -15,13 +15,12 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
+ style="@style/ScrollView" >
+ android:orientation="vertical"
+ android:padding="8dp" >
+ style="@style/TextMedium" />
+ style="@style/TextSmall" />
@@ -66,20 +62,17 @@ limitations under the License.
android:layout_width="wrap_content"
android:src="@drawable/success" />
+ style="@style/TextMedium" />
+ style="@style/TextSmall" />
@@ -96,36 +89,29 @@ limitations under the License.
android:layout_width="wrap_content"
android:src="@drawable/success" />
+ style="@style/TextMedium" />
+ style="@style/TextSmall" />
+ style="@style/TextSmall" />
+ style="@style/TextMedium" />
\ No newline at end of file
diff --git a/MyTracks/res/layout/upload_service_chooser.xml b/MyTracks/res/layout/upload_service_chooser.xml
index c4cc68a35..189ed9921 100644
--- a/MyTracks/res/layout/upload_service_chooser.xml
+++ b/MyTracks/res/layout/upload_service_chooser.xml
@@ -15,27 +15,21 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
+ style="@style/ScrollView" >
+ android:src="@drawable/google_maps_icon"
+ style="@style/UploadServiceChooserImageView" />
+ style="@style/UploadServiceChooserCheckBox" />
+ style="@style/TextMedium" />
+ style="@style/TextMedium" />
+ android:src="@drawable/google_fusion_tables_icon"
+ style="@style/UploadServiceChooserImageView" />
+ style="@style/UploadServiceChooserCheckBox" />
+ android:src="@drawable/google_docs_icon"
+ style="@style/UploadServiceChooserImageView" />
+ style="@style/UploadServiceChooserCheckBox" />
\ No newline at end of file
diff --git a/MyTracks/res/menu/marker_list_context_menu.xml b/MyTracks/res/menu/list_context_menu.xml
similarity index 78%
rename from MyTracks/res/menu/marker_list_context_menu.xml
rename to MyTracks/res/menu/list_context_menu.xml
index 487b21f27..68aaa23c4 100644
--- a/MyTracks/res/menu/marker_list_context_menu.xml
+++ b/MyTracks/res/menu/list_context_menu.xml
@@ -17,17 +17,17 @@ limitations under the License.
\ No newline at end of file
diff --git a/MyTracks/res/menu/marker_detail.xml b/MyTracks/res/menu/marker_detail.xml
index 3bbb168cb..f032ce666 100644
--- a/MyTracks/res/menu/marker_detail.xml
+++ b/MyTracks/res/menu/marker_detail.xml
@@ -18,12 +18,12 @@ limitations under the License.
-
\ No newline at end of file
diff --git a/MyTracks/res/menu/track_detail.xml b/MyTracks/res/menu/track_detail.xml
index 5b48e050b..9ac4de21e 100644
--- a/MyTracks/res/menu/track_detail.xml
+++ b/MyTracks/res/menu/track_detail.xml
@@ -18,30 +18,30 @@ limitations under the License.
-
-