diff --git a/MyTracks/AndroidManifest.xml b/MyTracks/AndroidManifest.xml index fc256591d..6c21fd846 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" > @@ -194,39 +180,25 @@ limitations under the License. - - - - - - + + + android:value="com.google.android.apps.mytracks.SearchListActivity" /> - - - + + + - - - - - - - + - + + + + + + + + + @@ -247,7 +227,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 +244,7 @@ limitations under the License. android:name="android.appwidget.provider" android:resource="@xml/track_widget_info" /> - + - - - + + + + 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/layout/aggregated_stats.xml b/MyTracks/res/layout/aggregated_stats.xml new file mode 100644 index 000000000..7c8f01024 --- /dev/null +++ b/MyTracks/res/layout/aggregated_stats.xml @@ -0,0 +1,27 @@ + + + + + + + \ 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 deleted file mode 100644 index e50ae4225..000000000 --- a/MyTracks/res/layout/chart_settings.xml +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ 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 @@ + + + + + + + + +