Autoformatted all resources.

This commit is contained in:
Dennis Guse
2019-07-23 22:25:01 +02:00
parent 363cb14bff
commit cd52dc29c9
77 changed files with 3909 additions and 4116 deletions
+23 -21
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2010 Google Inc. Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -16,10 +15,10 @@ limitations under the License.
--> -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
package="com.google.android.maps.mytracks"
android:installLocation="auto" android:installLocation="auto"
android:versionCode="74" android:versionCode="74"
android:versionName="2.0.6" android:versionName="2.0.6">
package="com.google.android.maps.mytracks" >
<!-- Permission to initialize services --> <!-- Permission to initialize services -->
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
@@ -70,6 +69,7 @@ limitations under the License.
<uses-feature <uses-feature
android:name="android.hardware.touchscreen.multitouch" android:name="android.hardware.touchscreen.multitouch"
android:required="false" /> android:required="false" />
<supports-screens <supports-screens
android:anyDensity="true" android:anyDensity="true"
android:largeScreens="true" android:largeScreens="true"
@@ -85,15 +85,17 @@ limitations under the License.
tools:replace="android:label"> tools:replace="android:label">
<!-- Activities --> <!-- Activities -->
<activity <activity
android:label="@string/menu_aggregated_statistics" android:name="com.google.android.apps.mytracks.AggregatedStatsActivity"
android:name="com.google.android.apps.mytracks.AggregatedStatsActivity" /> android:label="@string/menu_aggregated_statistics" />
<activity android:name="com.google.android.apps.mytracks.DeleteActivity" /> <activity android:name="com.google.android.apps.mytracks.DeleteActivity" />
<activity android:name="com.google.android.apps.mytracks.io.file.importer.ImportActivity"> <activity android:name="com.google.android.apps.mytracks.io.file.importer.ImportActivity">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.ATTACH_DATA" /> <action android:name="android.intent.action.ATTACH_DATA" />
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" /> <category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="application/gpx" /> <data android:mimeType="application/gpx" />
<data android:mimeType="application/gpx+xml" /> <data android:mimeType="application/gpx+xml" />
<data android:mimeType="application/vnd.google-earth.gpx" /> <data android:mimeType="application/vnd.google-earth.gpx" />
@@ -104,15 +106,15 @@ limitations under the License.
<activity android:name="com.google.android.apps.mytracks.MarkerEditActivity" /> <activity android:name="com.google.android.apps.mytracks.MarkerEditActivity" />
<activity android:name="com.google.android.apps.mytracks.MarkerDetailActivity" /> <activity android:name="com.google.android.apps.mytracks.MarkerDetailActivity" />
<activity <activity
android:label="@string/menu_markers" android:name="com.google.android.apps.mytracks.MarkerListActivity"
android:name="com.google.android.apps.mytracks.MarkerListActivity" > android:label="@string/menu_markers">
<meta-data <meta-data
android:name="android.app.default_searchable" android:name="android.app.default_searchable"
android:value="com.google.android.apps.mytracks.SearchListActivity" /> android:value="com.google.android.apps.mytracks.SearchListActivity" />
</activity> </activity>
<activity <activity
android:launchMode="singleTop" android:name="com.google.android.apps.mytracks.SearchListActivity"
android:name="com.google.android.apps.mytracks.SearchListActivity" > android:launchMode="singleTop">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.SEARCH" /> <action android:name="android.intent.action.SEARCH" />
</intent-filter> </intent-filter>
@@ -145,21 +147,22 @@ limitations under the License.
<activity android:name="com.google.android.apps.mytracks.settings.SettingsActivity" /> <activity android:name="com.google.android.apps.mytracks.settings.SettingsActivity" />
<activity android:name="com.google.android.apps.mytracks.settings.StatsSettingsActivity" /> <activity android:name="com.google.android.apps.mytracks.settings.StatsSettingsActivity" />
<activity <activity
android:label="@string/track_widget_config_title" android:name="com.google.android.apps.mytracks.widgets.TrackWidgetConfigActivity"
android:name="com.google.android.apps.mytracks.widgets.TrackWidgetConfigActivity" > android:label="@string/track_widget_config_title">
<intent-filter> <intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" /> <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
</intent-filter> </intent-filter>
</activity> </activity>
<service <service
android:exported="false" android:name="com.google.android.apps.mytracks.services.ControlRecordingService"
android:name="com.google.android.apps.mytracks.services.ControlRecordingService" /> android:exported="false" />
<service <service
android:name="com.google.android.apps.mytracks.services.TrackRecordingService"
android:enabled="true" android:enabled="true"
android:exported="false" android:exported="false"
android:icon="@drawable/ic_arrow_320" android:icon="@drawable/ic_arrow_320"
android:label="@string/recording_service" android:label="@string/recording_service" />
android:name="com.google.android.apps.mytracks.services.TrackRecordingService" />
<!-- Receivers --> <!-- Receivers -->
<receiver android:name="com.google.android.apps.mytracks.BootReceiver"> <receiver android:name="com.google.android.apps.mytracks.BootReceiver">
<intent-filter> <intent-filter>
@@ -181,16 +184,15 @@ limitations under the License.
</receiver> </receiver>
<!-- Providers --> <!-- Providers -->
<provider <provider
android:name="com.google.android.apps.mytracks.content.CustomContentProvider"
android:authorities="com.google.android.maps.mytracks" android:authorities="com.google.android.maps.mytracks"
android:exported="false" android:exported="false"
android:grantUriPermissions="true" android:grantUriPermissions="true" />
android:name="com.google.android.apps.mytracks.content.CustomContentProvider"
/>
<!-- Search suggestion provider --> <!-- Search suggestion provider -->
<provider <provider
android:name="com.google.android.apps.mytracks.content.SearchEngineProvider"
android:authorities="com.google.android.maps.mytracks.search" android:authorities="com.google.android.maps.mytracks.search"
android:exported="false" android:exported="false" />
android:name="com.google.android.apps.mytracks.content.SearchEngineProvider" />
<provider <provider
android:name="androidx.core.content.FileProvider" android:name="androidx.core.content.FileProvider"
+1 -2
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2013 Google Inc. Copyright 2013 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2008 The Android Open Source Project
<!-- Copyright (C) 2008 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
@@ -15,6 +14,6 @@
--> -->
<selector xmlns:android="http://schemas.android.com/apk/res/android"> <selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_activated="true" android:drawable="@drawable/list_activated_holo" /> <item android:drawable="@drawable/list_activated_holo" android:state_activated="true" />
<item android:drawable="@android:color/transparent" /> <item android:drawable="@android:color/transparent" />
</selector> </selector>
+15 -37
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2011 The Android Open Source Project
<!-- Copyright (C) 2011 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
@@ -18,48 +17,27 @@
<!-- Enabled states --> <!-- Enabled states -->
<item android:state_checked="true" android:state_window_focused="false" <item android:drawable="@drawable/btn_check_on_holo_dark" android:state_checked="true" android:state_enabled="true" android:state_window_focused="false" />
android:state_enabled="true" <item android:drawable="@drawable/btn_check_off_holo_dark" android:state_checked="false" android:state_enabled="true" android:state_window_focused="false" />
android:drawable="@drawable/btn_check_on_holo_dark" />
<item android:state_checked="false" android:state_window_focused="false"
android:state_enabled="true"
android:drawable="@drawable/btn_check_off_holo_dark" />
<item android:state_checked="true" android:state_pressed="true" <item android:drawable="@drawable/btn_check_on_pressed_holo_dark" android:state_checked="true" android:state_enabled="true" android:state_pressed="true" />
android:state_enabled="true" <item android:drawable="@drawable/btn_check_off_pressed_holo_dark" android:state_checked="false" android:state_enabled="true" android:state_pressed="true" />
android:drawable="@drawable/btn_check_on_pressed_holo_dark" />
<item android:state_checked="false" android:state_pressed="true"
android:state_enabled="true"
android:drawable="@drawable/btn_check_off_pressed_holo_dark" />
<item android:state_checked="true" android:state_focused="true" <item android:drawable="@drawable/btn_check_on_focused_holo_dark" android:state_checked="true" android:state_enabled="true" android:state_focused="true" />
android:state_enabled="true" <item android:drawable="@drawable/btn_check_off_focused_holo_dark" android:state_checked="false" android:state_enabled="true" android:state_focused="true" />
android:drawable="@drawable/btn_check_on_focused_holo_dark" />
<item android:state_checked="false" android:state_focused="true"
android:state_enabled="true"
android:drawable="@drawable/btn_check_off_focused_holo_dark" />
<item android:state_checked="false"
android:state_enabled="true"
android:drawable="@drawable/btn_check_off_holo_dark" />
<item android:state_checked="true"
android:state_enabled="true"
android:drawable="@drawable/btn_check_on_holo_dark" />
<item android:drawable="@drawable/btn_check_off_holo_dark" android:state_checked="false" android:state_enabled="true" />
<item android:drawable="@drawable/btn_check_on_holo_dark" android:state_checked="true" android:state_enabled="true" />
<!-- Disabled states --> <!-- Disabled states -->
<item android:state_checked="true" android:state_window_focused="false" <item android:drawable="@drawable/btn_check_on_disabled_holo_dark" android:state_checked="true" android:state_window_focused="false" />
android:drawable="@drawable/btn_check_on_disabled_holo_dark" /> <item android:drawable="@drawable/btn_check_off_disabled_holo_dark" android:state_checked="false" android:state_window_focused="false" />
<item android:state_checked="false" android:state_window_focused="false"
android:drawable="@drawable/btn_check_off_disabled_holo_dark" />
<item android:state_checked="true" android:state_focused="true" <item android:drawable="@drawable/btn_check_on_disabled_focused_holo_dark" android:state_checked="true" android:state_focused="true" />
android:drawable="@drawable/btn_check_on_disabled_focused_holo_dark" /> <item android:drawable="@drawable/btn_check_off_disabled_focused_holo_dark" android:state_checked="false" android:state_focused="true" />
<item android:state_checked="false" android:state_focused="true"
android:drawable="@drawable/btn_check_off_disabled_focused_holo_dark" />
<item android:state_checked="false" android:drawable="@drawable/btn_check_off_disabled_holo_dark" /> <item android:drawable="@drawable/btn_check_off_disabled_holo_dark" android:state_checked="false" />
<item android:state_checked="true" android:drawable="@drawable/btn_check_on_disabled_holo_dark" /> <item android:drawable="@drawable/btn_check_on_disabled_holo_dark" android:state_checked="true" />
</selector> </selector>
+15 -34
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2011 The Android Open Source Project
<!-- Copyright (C) 2011 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
@@ -15,45 +14,27 @@
--> -->
<selector xmlns:android="http://schemas.android.com/apk/res/android"> <selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_checked="true" android:state_window_focused="false" <item android:drawable="@drawable/btn_radio_on_holo_dark" android:state_checked="true" android:state_enabled="true" android:state_window_focused="false" />
android:state_enabled="true" <item android:drawable="@drawable/btn_radio_off_holo_dark" android:state_checked="false" android:state_enabled="true" android:state_window_focused="false" />
android:drawable="@drawable/btn_radio_on_holo_dark" />
<item android:state_checked="false" android:state_window_focused="false"
android:state_enabled="true"
android:drawable="@drawable/btn_radio_off_holo_dark" />
<item android:state_checked="true" android:state_pressed="true" <item android:drawable="@drawable/btn_radio_on_pressed_holo_dark" android:state_checked="true" android:state_enabled="true" android:state_pressed="true" />
android:state_enabled="true" <item android:drawable="@drawable/btn_radio_off_pressed_holo_dark" android:state_checked="false" android:state_enabled="true" android:state_pressed="true" />
android:drawable="@drawable/btn_radio_on_pressed_holo_dark" />
<item android:state_checked="false" android:state_pressed="true"
android:state_enabled="true"
android:drawable="@drawable/btn_radio_off_pressed_holo_dark" />
<item android:state_checked="true" android:state_focused="true" <item android:drawable="@drawable/btn_radio_on_focused_holo_dark" android:state_checked="true" android:state_enabled="true" android:state_focused="true" />
android:state_enabled="true" <item android:drawable="@drawable/btn_radio_off_focused_holo_dark" android:state_checked="false" android:state_enabled="true" android:state_focused="true" />
android:drawable="@drawable/btn_radio_on_focused_holo_dark" />
<item android:state_checked="false" android:state_focused="true"
android:state_enabled="true"
android:drawable="@drawable/btn_radio_off_focused_holo_dark" />
<item android:state_checked="false" android:state_enabled="true" <item android:drawable="@drawable/btn_radio_off_holo_dark" android:state_checked="false" android:state_enabled="true" />
android:drawable="@drawable/btn_radio_off_holo_dark" /> <item android:drawable="@drawable/btn_radio_on_holo_dark" android:state_checked="true" android:state_enabled="true" />
<item android:state_checked="true" android:state_enabled="true"
android:drawable="@drawable/btn_radio_on_holo_dark" />
<!-- Disabled states --> <!-- Disabled states -->
<item android:state_checked="true" android:state_window_focused="false" <item android:drawable="@drawable/btn_radio_on_disabled_holo_dark" android:state_checked="true" android:state_window_focused="false" />
android:drawable="@drawable/btn_radio_on_disabled_holo_dark" /> <item android:drawable="@drawable/btn_radio_off_disabled_holo_dark" android:state_checked="false" android:state_window_focused="false" />
<item android:state_checked="false" android:state_window_focused="false"
android:drawable="@drawable/btn_radio_off_disabled_holo_dark" />
<item android:state_checked="true" android:state_focused="true" <item android:drawable="@drawable/btn_radio_on_disabled_focused_holo_dark" android:state_checked="true" android:state_focused="true" />
android:drawable="@drawable/btn_radio_on_disabled_focused_holo_dark" /> <item android:drawable="@drawable/btn_radio_off_disabled_focused_holo_dark" android:state_checked="false" android:state_focused="true" />
<item android:state_checked="false" android:state_focused="true"
android:drawable="@drawable/btn_radio_off_disabled_focused_holo_dark" />
<item android:state_checked="false" android:drawable="@drawable/btn_radio_off_disabled_holo_dark" /> <item android:drawable="@drawable/btn_radio_off_disabled_holo_dark" android:state_checked="false" />
<item android:state_checked="true" android:drawable="@drawable/btn_radio_on_disabled_holo_dark" /> <item android:drawable="@drawable/btn_radio_on_disabled_holo_dark" android:state_checked="true" />
</selector> </selector>
+1 -2
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2013 Google Inc. Copyright 2013 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
+1 -2
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2013 Google Inc. Copyright 2013 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
+1 -2
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2013 Google Inc. Copyright 2013 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2010 The Android Open Source Project
<!-- Copyright (C) 2010 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
@@ -15,11 +14,11 @@
--> -->
<selector xmlns:android="http://schemas.android.com/apk/res/android"> <selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_window_focused="false" android:state_enabled="true" android:drawable="@drawable/textfield_default_holo_dark" /> <item android:drawable="@drawable/textfield_default_holo_dark" android:state_enabled="true" android:state_window_focused="false" />
<item android:state_window_focused="false" android:state_enabled="false" android:drawable="@drawable/textfield_disabled_holo_dark" /> <item android:drawable="@drawable/textfield_disabled_holo_dark" android:state_enabled="false" android:state_window_focused="false" />
<item android:state_enabled="true" android:state_focused="true" android:drawable="@drawable/textfield_activated_holo_dark" /> <item android:drawable="@drawable/textfield_activated_holo_dark" android:state_enabled="true" android:state_focused="true" />
<item android:state_enabled="true" android:state_activated="true" android:drawable="@drawable/textfield_focused_holo_dark" /> <item android:drawable="@drawable/textfield_focused_holo_dark" android:state_activated="true" android:state_enabled="true" />
<item android:state_enabled="true" android:drawable="@drawable/textfield_default_holo_dark" /> <item android:drawable="@drawable/textfield_default_holo_dark" android:state_enabled="true" />
<item android:state_focused="true" android:drawable="@drawable/textfield_disabled_focused_holo_dark" /> <item android:drawable="@drawable/textfield_disabled_focused_holo_dark" android:state_focused="true" />
<item android:drawable="@drawable/textfield_disabled_holo_dark" /> <item android:drawable="@drawable/textfield_disabled_holo_dark" />
</selector> </selector>
+18 -7
View File
@@ -1,12 +1,23 @@
<vector android:height="24dp" android:viewportHeight="100" <vector xmlns:android="http://schemas.android.com/apk/res/android"
android:viewportWidth="100" android:width="24dp" xmlns:aapt="http://schemas.android.com/aapt"
xmlns:aapt="http://schemas.android.com/aapt" xmlns:android="http://schemas.android.com/apk/res/android"> android:width="24dp"
android:height="24dp"
android:viewportWidth="100"
android:viewportHeight="100">
<path android:pathData="M82.489,12.834C83.196,10.418 82.043,9.556 79.926,10.917L10.087,55.828c-2.117,1.361 -1.795,2.628 0.714,2.815L39.806,60.807c2.51,0.188 5.291,2.267 6.18,4.621l10.282,27.208c0.89,2.354 2.195,2.304 2.902,-0.111z"> <path android:pathData="M82.489,12.834C83.196,10.418 82.043,9.556 79.926,10.917L10.087,55.828c-2.117,1.361 -1.795,2.628 0.714,2.815L39.806,60.807c2.51,0.188 5.291,2.267 6.18,4.621l10.282,27.208c0.89,2.354 2.195,2.304 2.902,-0.111z">
<aapt:attr name="android:fillColor"> <aapt:attr name="android:fillColor">
<gradient android:endX="81.73018" android:endY="11.204678" <gradient
android:startX="27.696081" android:startY="83.44198" android:type="linear"> android:endX="81.73018"
<item android:color="#FFFBB22F" android:offset="0"/> android:endY="11.204678"
<item android:color="#FFF58820" android:offset="1"/> android:startX="27.696081"
android:startY="83.44198"
android:type="linear">
<item
android:color="#FFFBB22F"
android:offset="0" />
<item
android:color="#FFF58820"
android:offset="1" />
</gradient> </gradient>
</aapt:attr> </aapt:attr>
</path> </path>
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2010 The Android Open Source Project
<!-- Copyright (C) 2010 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2010 The Android Open Source Project
<!-- Copyright (C) 2010 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
@@ -16,12 +15,12 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android"> <selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_window_focused="false" android:drawable="@android:color/transparent" /> <item android:drawable="@android:color/transparent" android:state_window_focused="false" />
<!-- Even though these two point to the same resource, have two states so the drawable will invalidate itself when coming out of pressed state. --> <!-- Even though these two point to the same resource, have two states so the drawable will invalidate itself when coming out of pressed state. -->
<item android:state_focused="true" android:state_enabled="false" android:state_pressed="true" android:drawable="@drawable/list_selector_disabled_holo_dark" /> <item android:drawable="@drawable/list_selector_disabled_holo_dark" android:state_enabled="false" android:state_focused="true" android:state_pressed="true" />
<item android:state_focused="true" android:state_enabled="false" android:drawable="@drawable/list_selector_disabled_holo_dark" /> <item android:drawable="@drawable/list_selector_disabled_holo_dark" android:state_enabled="false" android:state_focused="true" />
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/list_selector_background_transition_holo_dark" /> <item android:drawable="@drawable/list_selector_background_transition_holo_dark" android:state_focused="true" android:state_pressed="true" />
<item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/list_selector_background_transition_holo_dark" /> <item android:drawable="@drawable/list_selector_background_transition_holo_dark" android:state_focused="false" android:state_pressed="true" />
<item android:state_focused="true" android:drawable="@drawable/list_focused_holo" /> <item android:drawable="@drawable/list_focused_holo" android:state_focused="true" />
</selector> </selector>
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2010 The Android Open Source Project
<!-- Copyright (C) 2010 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
@@ -16,17 +15,20 @@
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@android:id/background" <item
android:id="@android:id/background"
android:drawable="@drawable/progress_bg_holo_dark" /> android:drawable="@drawable/progress_bg_holo_dark" />
<item android:id="@android:id/secondaryProgress"> <item android:id="@android:id/secondaryProgress">
<scale android:scaleWidth="100%" <scale
android:drawable="@drawable/progress_secondary_holo_dark" /> android:drawable="@drawable/progress_secondary_holo_dark"
android:scaleWidth="100%" />
</item> </item>
<item android:id="@android:id/progress"> <item android:id="@android:id/progress">
<scale android:scaleWidth="100%" <scale
android:drawable="@drawable/progress_primary_holo_dark" /> android:drawable="@drawable/progress_primary_holo_dark"
android:scaleWidth="100%" />
</item> </item>
</layer-list> </layer-list>
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
/* /*
** Copyright 2011, The Android Open Source Project ** Copyright 2011, The Android Open Source Project
** **
@@ -16,15 +15,30 @@
** limitations under the License. ** limitations under the License.
*/ */
--> -->
<animation-list <animation-list xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
android:oneshot="false"> android:oneshot="false">
<item android:drawable="@drawable/progressbar_indeterminate_holo1" android:duration="50" /> <item
<item android:drawable="@drawable/progressbar_indeterminate_holo2" android:duration="50" /> android:drawable="@drawable/progressbar_indeterminate_holo1"
<item android:drawable="@drawable/progressbar_indeterminate_holo3" android:duration="50" /> android:duration="50" />
<item android:drawable="@drawable/progressbar_indeterminate_holo4" android:duration="50" /> <item
<item android:drawable="@drawable/progressbar_indeterminate_holo5" android:duration="50" /> android:drawable="@drawable/progressbar_indeterminate_holo2"
<item android:drawable="@drawable/progressbar_indeterminate_holo6" android:duration="50" /> android:duration="50" />
<item android:drawable="@drawable/progressbar_indeterminate_holo7" android:duration="50" /> <item
<item android:drawable="@drawable/progressbar_indeterminate_holo8" android:duration="50" /> android:drawable="@drawable/progressbar_indeterminate_holo3"
android:duration="50" />
<item
android:drawable="@drawable/progressbar_indeterminate_holo4"
android:duration="50" />
<item
android:drawable="@drawable/progressbar_indeterminate_holo5"
android:duration="50" />
<item
android:drawable="@drawable/progressbar_indeterminate_holo6"
android:duration="50" />
<item
android:drawable="@drawable/progressbar_indeterminate_holo7"
android:duration="50" />
<item
android:drawable="@drawable/progressbar_indeterminate_holo8"
android:duration="50" />
</animation-list> </animation-list>
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2010 The Android Open Source Project
<!-- Copyright (C) 2010 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
@@ -15,11 +14,8 @@
--> -->
<selector xmlns:android="http://schemas.android.com/apk/res/android"> <selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false" <item android:drawable="@drawable/spinner_disabled_holo_dark" android:state_enabled="false" />
android:drawable="@drawable/spinner_disabled_holo_dark" /> <item android:drawable="@drawable/spinner_pressed_holo_dark" android:state_pressed="true" />
<item android:state_pressed="true" <item android:drawable="@drawable/spinner_focused_holo_dark" android:state_focused="true" android:state_pressed="false" />
android:drawable="@drawable/spinner_pressed_holo_dark" />
<item android:state_pressed="false" android:state_focused="true"
android:drawable="@drawable/spinner_focused_holo_dark" />
<item android:drawable="@drawable/spinner_default_holo_dark" /> <item android:drawable="@drawable/spinner_default_holo_dark" />
</selector> </selector>
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2013 Google Inc. Copyright 2013 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
+1 -2
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright (C) 2013 The Android Open Source Project Copyright (C) 2013 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
+42 -27
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2013 Google Inc. Copyright 2013 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -17,52 +16,63 @@ limitations under the License.
<merge xmlns:android="http://schemas.android.com/apk/res/android"> <merge xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Distance, calorie, total time, and moving time --> <!-- Distance, calorie, total time, and moving time -->
<LinearLayout <LinearLayout
android:layout_height="wrap_content" android:layout_width="match_parent"
android:layout_width="match_parent" > android:layout_height="wrap_content">
<include <include
android:id="@+id/stats_distance" android:id="@+id/stats_distance"
layout="@layout/stats_large_item" /> layout="@layout/stats_large_item" />
<include <include
android:id="@+id/stats_calorie" android:id="@+id/stats_calorie"
layout="@layout/stats_activity_type" /> layout="@layout/stats_activity_type" />
<View <View
android:layout_height="match_parent"
android:layout_width="1dp" android:layout_width="1dp"
android:layout_height="match_parent"
android:visibility="invisible" /> android:visibility="invisible" />
<include <include
android:id="@+id/stats_total_time" android:id="@+id/stats_total_time"
layout="@layout/stats_large_item" /> layout="@layout/stats_large_item" />
<include <include
android:id="@+id/stats_moving_time" android:id="@+id/stats_moving_time"
layout="@layout/stats_large_item" /> layout="@layout/stats_large_item" />
</LinearLayout> </LinearLayout>
<!-- Horizontal line --> <!-- Horizontal line -->
<View style="@style/StatsHorizontalLine" /> <View style="@style/StatsHorizontalLine" />
<LinearLayout <LinearLayout
android:layout_height="wrap_content" android:layout_width="match_parent"
android:layout_width="match_parent" > android:layout_height="wrap_content">
<TableLayout <TableLayout
android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1">
android:layout_width="0dp" >
<!-- Speed and average speed --> <!-- Speed and average speed -->
<LinearLayout <LinearLayout
android:layout_height="wrap_content" android:layout_width="match_parent"
android:layout_width="match_parent" > android:layout_height="wrap_content">
<include <include
android:id="@+id/stats_speed" android:id="@+id/stats_speed"
layout="@layout/stats_small_item" /> layout="@layout/stats_small_item" />
<include <include
android:id="@+id/stats_average_speed" android:id="@+id/stats_average_speed"
layout="@layout/stats_small_item" /> layout="@layout/stats_small_item" />
</LinearLayout> </LinearLayout>
<!-- Max speed and average moving speed --> <!-- Max speed and average moving speed -->
<LinearLayout <LinearLayout
android:layout_height="wrap_content" android:layout_width="match_parent"
android:layout_width="match_parent" > android:layout_height="wrap_content">
<include <include
android:id="@+id/stats_max_speed" android:id="@+id/stats_max_speed"
layout="@layout/stats_small_item" /> layout="@layout/stats_small_item" />
<include <include
android:id="@+id/stats_average_moving_speed" android:id="@+id/stats_average_moving_speed"
layout="@layout/stats_small_item" /> layout="@layout/stats_small_item" />
@@ -70,11 +80,13 @@ limitations under the License.
<!-- Latitude and longitude --> <!-- Latitude and longitude -->
<LinearLayout <LinearLayout
android:id="@+id/stats_coordinate_container" android:id="@+id/stats_coordinate_container"
android:layout_height="wrap_content" android:layout_width="match_parent"
android:layout_width="match_parent" > android:layout_height="wrap_content">
<include <include
android:id="@+id/stats_latitude" android:id="@+id/stats_latitude"
layout="@layout/stats_small_item" /> layout="@layout/stats_small_item" />
<include <include
android:id="@+id/stats_longitude" android:id="@+id/stats_longitude"
layout="@layout/stats_small_item" /> layout="@layout/stats_small_item" />
@@ -82,25 +94,27 @@ limitations under the License.
</TableLayout> </TableLayout>
<!-- Vertical line --> <!-- Vertical line -->
<View <View
android:background="@color/stats_separator"
android:id="@+id/stats_grade_elevation_separator" android:id="@+id/stats_grade_elevation_separator"
android:layout_width="1dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_width="1dp" /> android:background="@color/stats_separator" />
<LinearLayout <LinearLayout
android:id="@+id/stats_grade_elevation_container" android:id="@+id/stats_grade_elevation_container"
android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1">
android:layout_width="0dp" >
<!-- Grade --> <!-- Grade -->
<LinearLayout style="@style/StatsSmallGroupContainer"> <LinearLayout style="@style/StatsSmallGroupContainer">
<!-- Grade label --> <!-- Grade label -->
<TextView <TextView
android:text="@string/stats_grade" style="@style/StatsSmallLabel"
style="@style/StatsSmallLabel" /> android:text="@string/stats_grade" />
<TableLayout <TableLayout
android:layout_gravity="center" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="wrap_content" > android:layout_gravity="center">
<!-- Grade min --> <!-- Grade min -->
<include <include
android:id="@+id/stats_grade_min" android:id="@+id/stats_grade_min"
@@ -115,12 +129,13 @@ limitations under the License.
<LinearLayout style="@style/StatsSmallGroupContainer"> <LinearLayout style="@style/StatsSmallGroupContainer">
<!-- Elevation label --> <!-- Elevation label -->
<TextView <TextView
android:text="@string/stats_elevation" style="@style/StatsSmallLabel"
style="@style/StatsSmallLabel" /> android:text="@string/stats_elevation" />
<TableLayout <TableLayout
android:layout_gravity="center" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="wrap_content" > android:layout_gravity="center">
<!-- Elevation --> <!-- Elevation -->
<include <include
android:id="@+id/stats_elevation" android:id="@+id/stats_elevation"
+31 -24
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2013 Google Inc. Copyright 2013 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,56 +14,64 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<merge xmlns:android="http://schemas.android.com/apk/res/android"> <merge xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout <LinearLayout
android:background="@color/track_controller_background"
android:id="@+id/track_controller_container" android:id="@+id/track_controller_container"
android:layout_height="match_parent"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent"
android:background="@color/track_controller_background"
android:orientation="vertical" android:orientation="vertical"
android:paddingLeft="8dp" android:paddingLeft="8dp"
android:paddingRight="8dp"> android:paddingRight="8dp">
<View <View
android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_weight="1" android:layout_weight="1" />
android:layout_width="match_parent" />
<ImageButton <ImageButton
android:background="@android:color/transparent"
android:contentDescription="@string/image_record"
android:id="@+id/track_controller_record" android:id="@+id/track_controller_record"
android:layout_width="wrap_content"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_weight="10" android:layout_weight="10"
android:layout_width="wrap_content" /> android:background="@android:color/transparent"
android:contentDescription="@string/image_record" />
<RelativeLayout <RelativeLayout
android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_weight="6" android:layout_weight="6">
android:layout_width="match_parent" >
<TextView <TextView
android:id="@+id/track_controller_total_time" android:id="@+id/track_controller_total_time"
android:layout_centerInParent="true" style="@style/TextSmall"
android:layout_height="wrap_content"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:textColor="@android:color/white" android:layout_height="wrap_content"
style="@style/TextSmall" /> android:layout_centerInParent="true"
android:textColor="@android:color/white" />
<TextView <TextView
android:id="@+id/track_controller_status" android:id="@+id/track_controller_status"
style="@style/TextMicro"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@id/track_controller_total_time" android:layout_above="@id/track_controller_total_time"
android:layout_centerHorizontal="true" android:layout_centerHorizontal="true"
android:layout_height="wrap_content" android:singleLine="true" />
android:layout_width="wrap_content"
android:singleLine="true"
style="@style/TextMicro" />
</RelativeLayout> </RelativeLayout>
<ImageButton <ImageButton
android:background="@android:color/transparent"
android:contentDescription="@string/image_stop"
android:id="@+id/track_controller_stop" android:id="@+id/track_controller_stop"
android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_weight="10" android:layout_weight="10"
android:layout_width="match_parent" android:background="@android:color/transparent"
android:contentDescription="@string/image_stop"
android:src="@drawable/ic_button_stop_disabled" /> android:src="@drawable/ic_button_stop_disabled" />
<View <View
android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_weight="1" android:layout_weight="1" />
android:layout_width="match_parent" />
</LinearLayout> </LinearLayout>
</merge> </merge>
+8 -6
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2013 Google Inc. Copyright 2013 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,15 +14,18 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:baselineAligned="false" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_width="match_parent" > android:baselineAligned="false">
<include layout="@layout/track_controller" /> <include layout="@layout/track_controller" />
<TabHost <TabHost
android:id="@android:id/tabhost" android:id="@android:id/tabhost"
android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="1" android:layout_weight="1">
android:layout_width="0dp" >
<include layout="@layout/track_details_tab" /> <include layout="@layout/track_details_tab" />
</TabHost> </TabHost>
</LinearLayout> </LinearLayout>
+37 -27
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2013 Google Inc. Copyright 2013 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,68 +14,79 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:baselineAligned="false" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_width="match_parent" > android:baselineAligned="false">
<include layout="@layout/track_controller" /> <include layout="@layout/track_controller" />
<ListView <ListView
android:id="@+id/track_list" android:id="@+id/track_list"
android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="1.0" android:layout_weight="1.0" />
android:layout_width="0dp" />
<RelativeLayout <RelativeLayout
android:id="@+id/track_list_empty_view" android:id="@+id/track_list_empty_view"
android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="1.0" android:layout_weight="1.0">
android:layout_width="0dp" >
<LinearLayout <LinearLayout
android:id="@+id/track_list_arrow_long" android:id="@+id/track_list_arrow_long"
android:layout_alignParentLeft="true"
android:layout_height="match_parent"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentLeft="true"
android:orientation="vertical" android:orientation="vertical"
android:paddingLeft="12dp" android:paddingLeft="12dp"
android:paddingRight="16dp"> android:paddingRight="16dp">
<View <View
android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_weight="1" android:layout_weight="1" />
android:layout_width="match_parent" />
<ImageView <ImageView
android:contentDescription="@string/image_arrow" android:layout_width="wrap_content"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_weight="10" android:layout_weight="10"
android:layout_width="wrap_content" android:contentDescription="@string/image_arrow"
android:src="@drawable/ic_arrow_long" /> android:src="@drawable/ic_arrow_long" />
<View <View
android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_weight="17" android:layout_weight="17" />
android:layout_width="match_parent" />
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_toRightOf="@id/track_list_arrow_long" android:layout_toRightOf="@id/track_list_arrow_long"
android:layout_width="match_parent"
android:orientation="vertical"> android:orientation="vertical">
<View <View
android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_weight="4" android:layout_weight="4" />
android:layout_width="match_parent" />
<LinearLayout <LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_weight="24" android:layout_weight="24">
android:layout_width="match_parent" >
<TextView <TextView
style="@style/TextLarge"
android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight=".7" android:layout_weight=".7"
android:layout_width="0dp"
android:text="@string/track_list_empty_message" android:text="@string/track_list_empty_message"
android:textColor="@color/list_empty_text" android:textColor="@color/list_empty_text"></TextView>
style="@style/TextLarge" >
</TextView>
<View <View
android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight=".3" android:layout_weight=".3" />
android:layout_width="0dp" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
</RelativeLayout> </RelativeLayout>
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2013 Google Inc. Copyright 2013 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -16,23 +15,26 @@ limitations under the License.
--> -->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/ScrollView"> style="@style/ScrollView">
<LinearLayout <LinearLayout
android:layout_height="wrap_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="8dp" android:paddingLeft="8dp"
android:paddingRight="8dp" android:paddingTop="16dp"
android:paddingTop="16dp" > android:paddingRight="8dp">
<AutoCompleteTextView <AutoCompleteTextView
android:hint="@string/track_edit_activity_type_hint"
android:id="@+id/activity_type_preference_text_view" android:id="@+id/activity_type_preference_text_view"
style="@style/EditCategory"
android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="1" android:layout_weight="1"
android:layout_width="0dp" android:hint="@string/track_edit_activity_type_hint" />
style="@style/EditCategory" />
<Spinner <Spinner
android:id="@+id/activity_type_preference_spinner" android:id="@+id/activity_type_preference_spinner"
android:layout_gravity="bottom" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="wrap_content" /> android:layout_gravity="bottom" />
</LinearLayout> </LinearLayout>
</ScrollView> </ScrollView>
+9 -9
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2010 Google Inc. Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,21 +14,22 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="match_parent"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"> android:orientation="vertical">
<LinearLayout <LinearLayout
android:id="@+id/chart_view_layout" android:id="@+id/chart_view_layout"
android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_weight="1" android:layout_weight="1"
android:layout_width="match_parent" android:orientation="vertical"></LinearLayout>
android:orientation="vertical" >
</LinearLayout>
<ZoomControls <ZoomControls
android:id="@+id/chart_zoom_controls"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@android:color/white" android:background="@android:color/white"
android:gravity="right" android:gravity="right"
android:id="@+id/chart_zoom_controls"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:paddingRight="8dp" /> android:paddingRight="8dp" />
</LinearLayout> </LinearLayout>
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2012 Google Inc. Copyright 2012 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,36 +14,40 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:gravity="center_vertical"
android:layout_height="wrap_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:minHeight="?android:attr/listPreferredItemHeight" android:minHeight="?android:attr/listPreferredItemHeight"
android:paddingLeft="16dp" android:paddingLeft="16dp"
android:paddingRight="16dp"> android:paddingRight="16dp">
<ImageView <ImageView
android:contentDescription="@string/image_application"
android:id="@+id/choose_activity_list_item_icon" android:id="@+id/choose_activity_list_item_icon"
android:layout_height="@android:dimen/app_icon_size"
android:layout_width="@android:dimen/app_icon_size" android:layout_width="@android:dimen/app_icon_size"
android:layout_height="@android:dimen/app_icon_size"
android:contentDescription="@string/image_application"
android:scaleType="fitCenter" /> android:scaleType="fitCenter" />
<LinearLayout <LinearLayout
android:gravity="center_vertical"
android:layout_height="wrap_content"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="vertical"> android:orientation="vertical">
<TextView <TextView
android:id="@+id/choose_activity_list_item_text1" android:id="@+id/choose_activity_list_item_text1"
android:layout_height="wrap_content" style="@style/TextChooseActivity"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxLines="2" android:maxLines="2"
android:paddingLeft="16dp" android:paddingLeft="16dp" />
style="@style/TextChooseActivity" />
<TextView <TextView
android:id="@+id/choose_activity_list_item_text2" android:id="@+id/choose_activity_list_item_text2"
android:layout_height="wrap_content" style="@style/TextChooseActivity"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxLines="2" android:maxLines="2"
android:paddingLeft="16dp" android:paddingLeft="16dp" />
style="@style/TextChooseActivity" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
+4 -4
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2013 Google Inc. Copyright 2013 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,14 +14,15 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="wrap_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"> android:orientation="vertical">
<GridView <GridView
android:id="@+id/choose_activity_type_grid_view" android:id="@+id/choose_activity_type_grid_view"
android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_weight="1" android:layout_weight="1"
android:layout_width="match_parent"
android:numColumns="4" android:numColumns="4"
android:padding="4dp" android:padding="4dp"
android:stretchMode="spacingWidth" android:stretchMode="spacingWidth"
+46 -39
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2012 Google Inc. Copyright 2012 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,98 +14,104 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="wrap_content" android:layout_width="match_parent"
android:layout_width="match_parent" > android:layout_height="wrap_content">
<!-- Photo --> <!-- Photo -->
<ImageView <ImageView
android:contentDescription="@string/image_photo_marker"
android:id="@+id/list_item_photo" android:id="@+id/list_item_photo"
android:layout_height="match_parent"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="4dp" android:layout_marginBottom="4dp"
android:contentDescription="@string/image_photo_marker"
android:scaleType="centerCrop" /> android:scaleType="centerCrop" />
<FrameLayout <FrameLayout
android:layout_height="wrap_content" android:layout_width="match_parent"
android:layout_width="match_parent" > android:layout_height="wrap_content">
<!-- A gradient on top of the text --> <!-- A gradient on top of the text -->
<ImageView <ImageView
android:id="@+id/list_item_text_gradient"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:alpha=".6" android:alpha=".6"
android:contentDescription="@string/image_photo_marker" android:contentDescription="@string/image_photo_marker"
android:id="@+id/list_item_text_gradient"
android:layout_height="match_parent"
android:layout_width="match_parent"
android:src="@drawable/text_gradient" /> android:src="@drawable/text_gradient" />
<!-- Table 1 --> <!-- Table 1 -->
<TableLayout <TableLayout
android:layout_height="wrap_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight" android:minHeight="?android:attr/listPreferredItemHeight"
android:paddingBottom="12dp"
android:paddingRight="12dp"
android:paddingTop="8dp" android:paddingTop="8dp"
android:paddingRight="12dp"
android:paddingBottom="12dp"
android:shrinkColumns="1" android:shrinkColumns="1"
android:stretchColumns="1"> android:stretchColumns="1">
<!-- Table 1: Row 1 --> <!-- Table 1: Row 1 -->
<TableRow> <TableRow>
<!-- Table 1: Row 1: Column 1: (icon) --> <!-- Table 1: Row 1: Column 1: (icon) -->
<ImageView <ImageView
android:contentDescription="@string/image_track"
android:id="@+id/list_item_icon" android:id="@+id/list_item_icon"
android:layout_gravity="center_vertical" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="8dp" android:layout_marginLeft="8dp"
android:layout_marginRight="8dp" android:layout_marginRight="8dp"
android:layout_width="wrap_content" /> android:contentDescription="@string/image_track" />
<!-- Table 1: Row 1: Column 2: (Table 2) --> <!-- Table 1: Row 1: Column 2: (Table 2) -->
<TableLayout <TableLayout
android:layout_height="wrap_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"
android:shrinkColumns="0" android:shrinkColumns="0"
android:stretchColumns="0"> android:stretchColumns="0">
<TableRow> <TableRow>
<!-- Table 2: Row 1: Column 1: (name) --> <!-- Table 2: Row 1: Column 1: (name) -->
<TextView <TextView
android:ellipsize="end"
android:id="@+id/list_item_name" android:id="@+id/list_item_name"
android:layout_gravity="bottom" style="@style/TextMedium"
android:layout_width="match_parent" android:layout_width="match_parent"
android:singleLine="true" android:layout_gravity="bottom"
style="@style/TextMedium" /> android:ellipsize="end"
android:singleLine="true" />
<!-- Table 2: Row 1: Column 2: (date) --> <!-- Table 2: Row 1: Column 2: (date) -->
<TextView <TextView
android:id="@+id/list_item_date" android:id="@+id/list_item_date"
style="@style/ListItemDate" /> style="@style/ListItemDate" />
</TableRow> </TableRow>
<TableRow> <TableRow>
<!-- Need to match the style set in ListItemUtils.setListItem --> <!-- Need to match the style set in ListItemUtils.setListItem -->
<!-- Table 2: Row 2: Column 1: (shared owner, total time, total distance, and marker count) --> <!-- Table 2: Row 2: Column 1: (shared owner, total time, total distance, and marker count) -->
<LinearLayout <LinearLayout
android:layout_gravity="bottom" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="match_parent" > android:layout_gravity="bottom">
<TextView <TextView
android:ellipsize="end"
android:id="@+id/list_item_time_distance" android:id="@+id/list_item_time_distance"
style="@style/TextSmall"
android:layout_gravity="bottom" android:layout_gravity="bottom"
android:singleLine="true" android:ellipsize="end"
style="@style/TextSmall" /> android:singleLine="true" />
<ImageView <ImageView
android:contentDescription="@string/image_marker_count"
android:id="@+id/list_item_marker_count_icon" android:id="@+id/list_item_marker_count_icon"
android:layout_gravity="bottom" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="1dp" android:layout_gravity="bottom"
android:layout_marginLeft="2dp" android:layout_marginLeft="2dp"
android:layout_marginRight="2dp" android:layout_marginRight="2dp"
android:layout_width="wrap_content" android:layout_marginBottom="1dp"
android:contentDescription="@string/image_marker_count"
android:scaleType="centerInside" android:scaleType="centerInside"
android:src="@drawable/ic_menu_insert_marker" /> android:src="@drawable/ic_menu_insert_marker" />
<TextView <TextView
android:ellipsize="end"
android:id="@+id/list_item_marker_count" android:id="@+id/list_item_marker_count"
style="@style/TextSmall"
android:layout_gravity="bottom" android:layout_gravity="bottom"
android:singleLine="true" android:ellipsize="end"
style="@style/TextSmall" /> android:singleLine="true" />
</LinearLayout> </LinearLayout>
<!-- Table 2: Row 2: Column 2: (time) --> <!-- Table 2: Row 2: Column 2: (time) -->
<TextView <TextView
@@ -115,20 +120,22 @@ limitations under the License.
</TableRow> </TableRow>
</TableLayout> </TableLayout>
</TableRow> </TableRow>
<TableRow> <TableRow>
<!-- Table 1: Row 2: (category and description) --> <!-- Table 1: Row 2: (category and description) -->
<TextView <TextView
android:ellipsize="end"
android:id="@+id/list_item_category_description" android:id="@+id/list_item_category_description"
style="@style/TextSmall"
android:layout_column="1" android:layout_column="1"
android:ellipsize="end"
android:maxLines="2" android:maxLines="2"
android:singleLine="false" android:singleLine="false" />
style="@style/TextSmall" />
</TableRow> </TableRow>
</TableLayout> </TableLayout>
</FrameLayout> </FrameLayout>
<View <View
android:layout_height="match_parent" style="@style/ListItem"
android:layout_width="match_parent" android:layout_width="match_parent"
style="@style/ListItem" /> android:layout_height="match_parent" />
</FrameLayout> </FrameLayout>
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2013 Google Inc. Copyright 2013 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,10 +14,11 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="match_parent" android:layout_width="match_parent"
android:layout_width="match_parent" > android:layout_height="match_parent">
<androidx.viewpager.widget.ViewPager <androidx.viewpager.widget.ViewPager
android:id="@+id/maker_detail_activity_view_pager" android:id="@+id/maker_detail_activity_view_pager"
android:layout_height="match_parent" android:layout_width="match_parent"
android:layout_width="match_parent" /> android:layout_height="match_parent" />
</LinearLayout> </LinearLayout>
+36 -23
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2010 Google Inc. Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,73 +14,87 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="match_parent" android:layout_width="match_parent"
android:layout_width="match_parent" > android:layout_height="match_parent">
<FrameLayout <FrameLayout
android:id="@+id/marker_detail_waypoint" android:id="@+id/marker_detail_waypoint"
android:layout_height="match_parent" android:layout_width="match_parent"
android:layout_width="match_parent" > android:layout_height="match_parent">
<ImageView <ImageView
android:id="@+id/marker_detail_waypoint_photo"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/black" android:background="@android:color/black"
android:contentDescription="@string/image_photo_marker" android:contentDescription="@string/image_photo_marker"
android:id="@+id/marker_detail_waypoint_photo"
android:layout_height="match_parent"
android:layout_width="match_parent"
android:scaleType="fitCenter" /> android:scaleType="fitCenter" />
<FrameLayout <FrameLayout
android:layout_height="wrap_content" android:layout_width="match_parent"
android:layout_width="match_parent" > android:layout_height="wrap_content">
<!-- A gradient on top of the text --> <!-- A gradient on top of the text -->
<ImageView <ImageView
android:id="@+id/marker_detail_waypoint_text_gradient"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:alpha=".6" android:alpha=".6"
android:contentDescription="@string/image_photo_marker" android:contentDescription="@string/image_photo_marker"
android:id="@+id/marker_detail_waypoint_text_gradient"
android:layout_height="match_parent"
android:layout_width="match_parent"
android:src="@drawable/text_gradient" /> android:src="@drawable/text_gradient" />
<LinearLayout <LinearLayout
android:id="@+id/marker_detail_waypoint_info" android:id="@+id/marker_detail_waypoint_info"
android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="80dp" android:layout_marginBottom="80dp"
android:layout_width="match_parent"
android:orientation="vertical" android:orientation="vertical"
android:padding="8dp"> android:padding="8dp">
<TextView <TextView
android:id="@+id/marker_detail_waypoint_name" android:id="@+id/marker_detail_waypoint_name"
android:paddingTop="8dp" style="@style/TextMedium"
style="@style/TextMedium" /> android:paddingTop="8dp" />
<TextView <TextView
android:id="@+id/marker_detail_waypoint_category" android:id="@+id/marker_detail_waypoint_category"
style="@style/TextSmall" /> style="@style/TextSmall" />
<TextView <TextView
android:id="@+id/marker_detail_waypoint_description" android:id="@+id/marker_detail_waypoint_description"
style="@style/TextSmall" /> style="@style/TextSmall" />
<TextView <TextView
android:id="@+id/marker_detail_waypoint_location" android:id="@+id/marker_detail_waypoint_location"
style="@style/TextSmall" /> style="@style/TextSmall" />
</LinearLayout> </LinearLayout>
</FrameLayout> </FrameLayout>
</FrameLayout> </FrameLayout>
<ScrollView <ScrollView
android:id="@+id/marker_detail_statistics" android:id="@+id/marker_detail_statistics"
style="@style/StatsScrollView"> style="@style/StatsScrollView">
<LinearLayout <LinearLayout
android:layout_height="wrap_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
android:padding="8dp"> android:padding="8dp">
<TextView <TextView
android:id="@+id/marker_detail_statistics_name" android:id="@+id/marker_detail_statistics_name"
android:paddingTop="8dp" style="@style/TextMedium"
style="@style/TextMedium" /> android:paddingTop="8dp" />
<TextView <TextView
android:id="@+id/marker_detail_statistics_location" android:id="@+id/marker_detail_statistics_location"
style="@style/TextSmall" /> style="@style/TextSmall" />
<TextView <TextView
android:paddingBottom="6dp" style="@style/TextSmall"
android:paddingTop="4dp" android:paddingTop="4dp"
android:text="@string/marker_detail_statistics_title" android:paddingBottom="6dp"
style="@style/TextSmall" /> android:text="@string/marker_detail_statistics_title" />
<include layout="@layout/stats_content" /> <include layout="@layout/stats_content" />
</LinearLayout> </LinearLayout>
</ScrollView> </ScrollView>
+37 -24
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2012 Google Inc. Copyright 2012 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,63 +14,77 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_width="match_parent"
android:orientation="vertical"> android:orientation="vertical">
<ScrollView style="@style/ScrollView.WithBottomButtons"> <ScrollView style="@style/ScrollView.WithBottomButtons">
<LinearLayout <LinearLayout
android:layout_height="wrap_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
android:padding="8dp"> android:padding="8dp">
<TextView <TextView
android:text="@string/generic_name" style="@style/EditLabel"
style="@style/EditLabel" /> android:text="@string/generic_name" />
<LinearLayout <LinearLayout
android:id="@+id/marker_edit_statistics_section" android:id="@+id/marker_edit_statistics_section"
android:layout_height="wrap_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"> android:orientation="vertical">
<EditText <EditText
android:id="@+id/marker_edit_statistics_name"
style="@style/EditNameMarker"
android:drawableLeft="@drawable/ic_marker_yellow_pushpin" android:drawableLeft="@drawable/ic_marker_yellow_pushpin"
android:hint="@string/generic_name" android:hint="@string/generic_name"
android:id="@+id/marker_edit_statistics_name" android:imeOptions="actionDone" />
android:imeOptions="actionDone"
style="@style/EditNameMarker" />
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
android:id="@+id/marker_edit_waypoint_section" android:id="@+id/marker_edit_waypoint_section"
android:layout_height="wrap_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"> android:orientation="vertical">
<EditText <EditText
android:id="@+id/marker_edit_waypoint_name"
style="@style/EditNameMarker"
android:drawableLeft="@drawable/ic_marker_blue_pushpin" android:drawableLeft="@drawable/ic_marker_blue_pushpin"
android:hint="@string/generic_name" android:hint="@string/generic_name"
android:id="@+id/marker_edit_waypoint_name" android:imeOptions="actionNext" />
android:imeOptions="actionNext"
style="@style/EditNameMarker" />
<TextView <TextView
android:text="@string/marker_edit_marker_type" style="@style/EditLabel.WithPaddingTop"
style="@style/EditLabel.WithPaddingTop" /> android:text="@string/marker_edit_marker_type" />
<AutoCompleteTextView <AutoCompleteTextView
android:hint="@string/marker_edit_marker_type_hint"
android:id="@+id/marker_edit_waypoint_marker_type" android:id="@+id/marker_edit_waypoint_marker_type"
android:imeOptions="actionNext" style="@style/EditCategory"
android:layout_width="match_parent" android:layout_width="match_parent"
style="@style/EditCategory" /> android:hint="@string/marker_edit_marker_type_hint"
android:imeOptions="actionNext" />
<TextView <TextView
android:text="@string/generic_description" style="@style/EditLabel.WithPaddingTop"
style="@style/EditLabel.WithPaddingTop" /> android:text="@string/generic_description" />
<EditText <EditText
android:hint="@string/generic_description"
android:id="@+id/marker_edit_waypoint_description" android:id="@+id/marker_edit_waypoint_description"
android:imeOptions="actionDone" style="@style/EditDescription"
style="@style/EditDescription" /> android:hint="@string/generic_description"
android:imeOptions="actionDone" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
</ScrollView> </ScrollView>
<View style="@style/BottomButtonDivider" /> <View style="@style/BottomButtonDivider" />
<LinearLayout style="@style/BottomButtonBar"> <LinearLayout style="@style/BottomButtonBar">
<include layout="@layout/marker_edit_buttons" /> <include layout="@layout/marker_edit_buttons" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
+6 -6
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2012 Google Inc. Copyright 2012 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,11 +17,12 @@ limitations under the License.
<!-- In v14, postive button on the right. --> <!-- In v14, postive button on the right. -->
<Button <Button
android:id="@+id/marker_edit_cancel" android:id="@+id/marker_edit_cancel"
style="@style/BottomButton"
android:layout_gravity="left" android:layout_gravity="left"
android:text="@string/generic_cancel" android:text="@string/generic_cancel" />
style="@style/BottomButton" />
<Button <Button
android:id="@+id/marker_edit_done" android:id="@+id/marker_edit_done"
android:layout_gravity="right" style="@style/BottomButton"
style="@style/BottomButton" /> android:layout_gravity="right" />
</merge> </merge>
+9 -9
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2010 Google Inc. Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,15 +14,16 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<merge xmlns:android="http://schemas.android.com/apk/res/android" <merge xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="match_parent" android:layout_width="match_parent"
android:layout_width="match_parent" > android:layout_height="match_parent">
<ListView <ListView
android:id="@+id/marker_list" android:id="@+id/marker_list"
android:layout_height="match_parent" android:layout_width="match_parent"
android:layout_width="match_parent" /> android:layout_height="match_parent" />
<TextView <TextView
android:id="@+id/marker_list_empty" android:id="@+id/marker_list_empty"
android:text="@string/marker_list_empty_message" style="@style/ListEmptyTextView"
style="@style/ListEmptyTextView" > android:text="@string/marker_list_empty_message"></TextView>
</TextView>
</merge> </merge>
+9 -9
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2012 Google Inc. Copyright 2012 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,15 +14,16 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<merge xmlns:android="http://schemas.android.com/apk/res/android" <merge xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="match_parent" android:layout_width="match_parent"
android:layout_width="match_parent" > android:layout_height="match_parent">
<ListView <ListView
android:id="@+id/search_list" android:id="@+id/search_list"
android:layout_height="match_parent" android:layout_width="match_parent"
android:layout_width="match_parent" /> android:layout_height="match_parent" />
<TextView <TextView
android:id="@+id/search_list_empty" android:id="@+id/search_list_empty"
android:text="@string/search_list_empty_message" style="@style/ListEmptyTextView"
style="@style/ListEmptyTextView" > android:text="@string/search_list_empty_message"></TextView>
</TextView>
</merge> </merge>
+22 -15
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2010 Google Inc. Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -16,49 +15,57 @@ limitations under the License.
--> -->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/ScrollView"> style="@style/ScrollView">
<LinearLayout <LinearLayout
android:layout_height="wrap_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
android:padding="8dp"> android:padding="8dp">
<TextView <TextView
android:text="@string/menu_sensor_state" style="@style/TextMedium"
style="@style/TextMedium" /> android:text="@string/menu_sensor_state" />
<TextView <TextView
android:id="@+id/sensor_state" android:id="@+id/sensor_state"
style="@style/SensorStateValue" /> style="@style/SensorStateValue" />
<!-- Last sensor time --> <!-- Last sensor time -->
<TextView <TextView
android:text="@string/sensor_state_last_sensor_time" style="@style/TextMedium"
style="@style/TextMedium" /> android:text="@string/sensor_state_last_sensor_time" />
<TextView <TextView
android:id="@+id/sensor_state_last_sensor_time" android:id="@+id/sensor_state_last_sensor_time"
style="@style/SensorStateValue" /> style="@style/SensorStateValue" />
<!-- Heart rate --> <!-- Heart rate -->
<TextView <TextView
android:text="@string/sensor_state_heart_rate" style="@style/TextMedium"
style="@style/TextMedium" /> android:text="@string/sensor_state_heart_rate" />
<TextView <TextView
android:id="@+id/sensor_state_heart_rate" android:id="@+id/sensor_state_heart_rate"
style="@style/SensorStateValue" /> style="@style/SensorStateValue" />
<!-- Cadence --> <!-- Cadence -->
<TextView <TextView
android:text="@string/sensor_state_cadence" style="@style/TextMedium"
style="@style/TextMedium" /> android:text="@string/sensor_state_cadence" />
<TextView <TextView
android:id="@+id/sensor_state_cadence" android:id="@+id/sensor_state_cadence"
style="@style/SensorStateValue" /> style="@style/SensorStateValue" />
<!-- Power --> <!-- Power -->
<TextView <TextView
android:text="@string/sensor_state_power" style="@style/TextMedium"
style="@style/TextMedium" /> android:text="@string/sensor_state_power" />
<TextView <TextView
android:id="@+id/sensor_state_power" android:id="@+id/sensor_state_power"
style="@style/SensorStateValue" /> style="@style/SensorStateValue" />
<!-- Battery level --> <!-- Battery level -->
<TextView <TextView
android:text="@string/sensor_state_battery" style="@style/TextMedium"
style="@style/TextMedium" /> android:text="@string/sensor_state_battery" />
<TextView <TextView
android:id="@+id/sensor_state_battery" android:id="@+id/sensor_state_battery"
style="@style/SensorStateValue" /> style="@style/SensorStateValue" />
+4 -3
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2010 Google Inc. Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -16,10 +15,12 @@ limitations under the License.
--> -->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/StatsScrollView"> style="@style/StatsScrollView">
<LinearLayout <LinearLayout
android:layout_height="wrap_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"> android:orientation="vertical">
<include layout="@layout/stats_content" /> <include layout="@layout/stats_content" />
</LinearLayout> </LinearLayout>
</ScrollView> </ScrollView>
+6 -6
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2013 Google Inc. Copyright 2013 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -19,14 +18,15 @@ limitations under the License.
<!-- Label --> <!-- Label -->
<TextView <TextView
android:id="@+id/stats_label" android:id="@+id/stats_label"
android:text="@string/track_edit_activity_type_hint" style="@style/StatsLargeLabel"
style="@style/StatsLargeLabel" /> android:text="@string/track_edit_activity_type_hint" />
<!-- Value container --> <!-- Value container -->
<LinearLayout style="@style/StatsLargeValueContainer"> <LinearLayout style="@style/StatsLargeValueContainer">
<Spinner <Spinner
android:id="@+id/stats_activity_type_icon" android:id="@+id/stats_activity_type_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="4dp" android:layout_marginLeft="4dp" />
android:layout_width="wrap_content" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
+34 -22
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2013 Google Inc. Copyright 2013 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -17,22 +16,26 @@ limitations under the License.
<merge xmlns:android="http://schemas.android.com/apk/res/android"> <merge xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Distance and activity type --> <!-- Distance and activity type -->
<LinearLayout <LinearLayout
android:layout_height="wrap_content" android:layout_width="match_parent"
android:layout_width="match_parent" > android:layout_height="wrap_content">
<include <include
android:id="@+id/stats_distance" android:id="@+id/stats_distance"
layout="@layout/stats_large_item" /> layout="@layout/stats_large_item" />
<include <include
android:id="@+id/stats_calorie" android:id="@+id/stats_calorie"
layout="@layout/stats_activity_type" /> layout="@layout/stats_activity_type" />
</LinearLayout> </LinearLayout>
<!-- Total time and moving time --> <!-- Total time and moving time -->
<LinearLayout <LinearLayout
android:layout_height="wrap_content" android:layout_width="match_parent"
android:layout_width="match_parent" > android:layout_height="wrap_content">
<include <include
android:id="@+id/stats_total_time" android:id="@+id/stats_total_time"
layout="@layout/stats_large_item" /> layout="@layout/stats_large_item" />
<include <include
android:id="@+id/stats_moving_time" android:id="@+id/stats_moving_time"
layout="@layout/stats_large_item" /> layout="@layout/stats_large_item" />
@@ -41,22 +44,26 @@ limitations under the License.
<View style="@style/StatsHorizontalLine" /> <View style="@style/StatsHorizontalLine" />
<!-- Speed and average speed --> <!-- Speed and average speed -->
<LinearLayout <LinearLayout
android:layout_height="wrap_content" android:layout_width="match_parent"
android:layout_width="match_parent" > android:layout_height="wrap_content">
<include <include
android:id="@+id/stats_speed" android:id="@+id/stats_speed"
layout="@layout/stats_small_item" /> layout="@layout/stats_small_item" />
<include <include
android:id="@+id/stats_average_speed" android:id="@+id/stats_average_speed"
layout="@layout/stats_small_item" /> layout="@layout/stats_small_item" />
</LinearLayout> </LinearLayout>
<!-- Max speed and average moving speed --> <!-- Max speed and average moving speed -->
<LinearLayout <LinearLayout
android:layout_height="wrap_content" android:layout_width="match_parent"
android:layout_width="match_parent" > android:layout_height="wrap_content">
<include <include
android:id="@+id/stats_max_speed" android:id="@+id/stats_max_speed"
layout="@layout/stats_small_item" /> layout="@layout/stats_small_item" />
<include <include
android:id="@+id/stats_average_moving_speed" android:id="@+id/stats_average_moving_speed"
layout="@layout/stats_small_item" /> layout="@layout/stats_small_item" />
@@ -65,20 +72,22 @@ limitations under the License.
<View <View
android:id="@+id/stats_grade_elevation_separator" android:id="@+id/stats_grade_elevation_separator"
style="@style/StatsHorizontalLine" /> style="@style/StatsHorizontalLine" />
<LinearLayout <LinearLayout
android:id="@+id/stats_grade_elevation_container" android:id="@+id/stats_grade_elevation_container"
android:layout_height="wrap_content" android:layout_width="match_parent"
android:layout_width="match_parent" > android:layout_height="wrap_content">
<!-- Grade --> <!-- Grade -->
<LinearLayout style="@style/StatsSmallGroupContainer"> <LinearLayout style="@style/StatsSmallGroupContainer">
<!-- Grade label --> <!-- Grade label -->
<TextView <TextView
android:text="@string/stats_grade" style="@style/StatsSmallLabel"
style="@style/StatsSmallLabel" /> android:text="@string/stats_grade" />
<TableLayout <TableLayout
android:layout_gravity="center" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="wrap_content" > android:layout_gravity="center">
<!-- Grade min --> <!-- Grade min -->
<include <include
android:id="@+id/stats_grade_min" android:id="@+id/stats_grade_min"
@@ -93,12 +102,13 @@ limitations under the License.
<LinearLayout style="@style/StatsSmallGroupContainer"> <LinearLayout style="@style/StatsSmallGroupContainer">
<!-- Elevation label --> <!-- Elevation label -->
<TextView <TextView
android:text="@string/stats_elevation" style="@style/StatsSmallLabel"
style="@style/StatsSmallLabel" /> android:text="@string/stats_elevation" />
<TableLayout <TableLayout
android:layout_gravity="center" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="wrap_content" > android:layout_gravity="center">
<!-- Elevation --> <!-- Elevation -->
<include <include
android:id="@+id/stats_elevation" android:id="@+id/stats_elevation"
@@ -125,11 +135,13 @@ limitations under the License.
<!-- Latitude and longitude --> <!-- Latitude and longitude -->
<LinearLayout <LinearLayout
android:id="@+id/stats_coordinate_container" android:id="@+id/stats_coordinate_container"
android:layout_height="wrap_content" android:layout_width="match_parent"
android:layout_width="match_parent" > android:layout_height="wrap_content">
<include <include
android:id="@+id/stats_latitude" android:id="@+id/stats_latitude"
layout="@layout/stats_small_item" /> layout="@layout/stats_small_item" />
<include <include
android:id="@+id/stats_longitude" android:id="@+id/stats_longitude"
layout="@layout/stats_small_item" /> layout="@layout/stats_small_item" />
+1 -2
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2013 Google Inc. Copyright 2013 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
+12 -12
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2013 Google Inc. Copyright 2013 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,12 +14,12 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<TableRow xmlns:android="http://schemas.android.com/apk/res/android" <TableRow xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="wrap_content" android:layout_width="wrap_content"
android:layout_width="wrap_content" > android:layout_height="wrap_content">
<!-- Value container --> <!-- Value container -->
<LinearLayout <LinearLayout
android:layout_gravity="right|bottom" style="@style/StatsSmallValueContainer"
style="@style/StatsSmallValueContainer" > android:layout_gravity="right|bottom">
<!-- Value --> <!-- Value -->
<TextView <TextView
android:id="@+id/stats_value" android:id="@+id/stats_value"
@@ -32,16 +31,17 @@ limitations under the License.
</LinearLayout> </LinearLayout>
<!-- Label container --> <!-- Label container -->
<LinearLayout <LinearLayout
android:layout_gravity="left|bottom" style="@style/StatsSmallValueContainer"
style="@style/StatsSmallValueContainer" > android:layout_gravity="left|bottom">
<TextView <TextView
android:visibility="invisible" style="@style/StatsSmallValue"
style="@style/StatsSmallValue" /> android:visibility="invisible" />
<!-- Label --> <!-- Label -->
<TextView <TextView
android:id="@+id/stats_label" android:id="@+id/stats_label"
style="@style/StatsSmallLabel"
android:layout_gravity="bottom" android:layout_gravity="bottom"
android:paddingLeft="8dp" android:paddingLeft="8dp" />
style="@style/StatsSmallLabel" />
</LinearLayout> </LinearLayout>
</TableRow> </TableRow>
+1 -2
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2013 Google Inc. Copyright 2013 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
+1 -2
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2013 Google Inc. Copyright 2013 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
+33 -26
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2012 Google Inc. Copyright 2012 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,56 +14,64 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<merge xmlns:android="http://schemas.android.com/apk/res/android"> <merge xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout <LinearLayout
android:background="@color/track_controller_background"
android:id="@+id/track_controller_container" android:id="@+id/track_controller_container"
android:layout_height="wrap_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:paddingBottom="8dp" android:layout_height="wrap_content"
android:paddingTop="8dp" > android:background="@color/track_controller_background"
android:paddingTop="8dp"
android:paddingBottom="8dp">
<View <View
android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="1" android:layout_weight="1" />
android:layout_width="0dp" />
<ImageButton <ImageButton
android:background="@android:color/transparent"
android:contentDescription="@string/image_record"
android:id="@+id/track_controller_record" android:id="@+id/track_controller_record"
android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="10" android:layout_weight="10"
android:layout_width="0dp" /> android:background="@android:color/transparent"
android:contentDescription="@string/image_record" />
<RelativeLayout <RelativeLayout
android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="6" android:layout_weight="6">
android:layout_width="0dp" >
<TextView <TextView
android:id="@+id/track_controller_total_time" android:id="@+id/track_controller_total_time"
style="@style/TextSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:layout_height="wrap_content" android:textColor="@android:color/white" />
android:layout_width="wrap_content"
android:textColor="@android:color/white"
style="@style/TextSmall" />
<TextView <TextView
android:id="@+id/track_controller_status" android:id="@+id/track_controller_status"
style="@style/TextMicro"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@id/track_controller_total_time" android:layout_above="@id/track_controller_total_time"
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
android:layout_height="wrap_content" android:singleLine="true" />
android:layout_width="wrap_content"
android:singleLine="true"
style="@style/TextMicro" />
</RelativeLayout> </RelativeLayout>
<ImageButton <ImageButton
android:background="@android:color/transparent"
android:contentDescription="@string/image_stop"
android:id="@+id/track_controller_stop" android:id="@+id/track_controller_stop"
android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="10" android:layout_weight="10"
android:layout_width="0dp" android:background="@android:color/transparent"
android:contentDescription="@string/image_stop"
android:src="@drawable/ic_button_stop_disabled" /> android:src="@drawable/ic_button_stop_disabled" />
<View <View
android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="1" android:layout_weight="1" />
android:layout_width="0dp" />
</LinearLayout> </LinearLayout>
</merge> </merge>
+7 -5
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2010 Google Inc. Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,15 +14,18 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="match_parent"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"> android:orientation="vertical">
<TabHost <TabHost
android:id="@android:id/tabhost" android:id="@android:id/tabhost"
android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_weight="1" android:layout_weight="1">
android:layout_width="match_parent" >
<include layout="@layout/track_details_tab" /> <include layout="@layout/track_details_tab" />
</TabHost> </TabHost>
<include layout="@layout/track_controller" /> <include layout="@layout/track_controller" />
</LinearLayout> </LinearLayout>
+12 -9
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2013 Google Inc. Copyright 2013 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,24 +14,28 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<merge xmlns:android="http://schemas.android.com/apk/res/android"> <merge xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout <LinearLayout
android:layout_height="match_parent"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"> android:orientation="vertical">
<TabWidget <TabWidget
android:id="@android:id/tabs" android:id="@android:id/tabs"
android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0" android:layout_weight="0" />
android:layout_width="match_parent" />
<FrameLayout <FrameLayout
android:id="@android:id/tabcontent" android:id="@android:id/tabcontent"
android:layout_width="0dp"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_weight="0" android:layout_weight="0" />
android:layout_width="0dp" />
<androidx.viewpager.widget.ViewPager <androidx.viewpager.widget.ViewPager
android:id="@+id/pager" android:id="@+id/pager"
android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_weight="1" android:layout_weight="1" />
android:layout_width="match_parent" />
</LinearLayout> </LinearLayout>
</merge> </merge>
+36 -24
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2010 Google Inc. Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,56 +14,69 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_width="match_parent"
android:orientation="vertical"> android:orientation="vertical">
<ScrollView style="@style/ScrollView.WithBottomButtons"> <ScrollView style="@style/ScrollView.WithBottomButtons">
<LinearLayout <LinearLayout
android:layout_height="wrap_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
android:padding="8dp"> android:padding="8dp">
<TextView <TextView
android:text="@string/generic_name" style="@style/EditLabel"
style="@style/EditLabel" /> android:text="@string/generic_name" />
<EditText <EditText
android:hint="@string/generic_name"
android:id="@+id/track_edit_name" android:id="@+id/track_edit_name"
android:imeOptions="actionNext" style="@style/EditNameTrack"
style="@style/EditNameTrack" /> android:hint="@string/generic_name"
android:imeOptions="actionNext" />
<TextView <TextView
android:id="@+id/track_edit_activity_type_label" android:id="@+id/track_edit_activity_type_label"
android:text="@string/track_edit_activity_type" style="@style/EditLabel.WithPaddingTop"
style="@style/EditLabel.WithPaddingTop" /> android:text="@string/track_edit_activity_type" />
<LinearLayout <LinearLayout
android:layout_height="wrap_content" android:layout_width="match_parent"
android:layout_width="match_parent" > android:layout_height="wrap_content">
<AutoCompleteTextView <AutoCompleteTextView
android:hint="@string/track_edit_activity_type_hint"
android:id="@+id/track_edit_activity_type" android:id="@+id/track_edit_activity_type"
android:imeOptions="actionNext" style="@style/EditCategory"
android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="1" android:layout_weight="1"
android:layout_width="0dp" android:hint="@string/track_edit_activity_type_hint"
style="@style/EditCategory" /> android:imeOptions="actionNext" />
<Spinner <Spinner
android:id="@+id/track_edit_activity_type_icon" android:id="@+id/track_edit_activity_type_icon"
android:layout_gravity="bottom" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="wrap_content" /> android:layout_gravity="bottom" />
</LinearLayout> </LinearLayout>
<TextView <TextView
android:text="@string/generic_description" style="@style/EditLabel.WithPaddingTop"
style="@style/EditLabel.WithPaddingTop" /> android:text="@string/generic_description" />
<EditText <EditText
android:hint="@string/generic_description"
android:id="@+id/track_edit_description" android:id="@+id/track_edit_description"
android:imeOptions="actionDone" style="@style/EditDescription"
style="@style/EditDescription" /> android:hint="@string/generic_description"
android:imeOptions="actionDone" />
</LinearLayout> </LinearLayout>
</ScrollView> </ScrollView>
<View style="@style/BottomButtonDivider" /> <View style="@style/BottomButtonDivider" />
<LinearLayout style="@style/BottomButtonBar"> <LinearLayout style="@style/BottomButtonBar">
<include layout="@layout/track_edit_buttons" /> <include layout="@layout/track_edit_buttons" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
+6 -6
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2012 Google Inc. Copyright 2012 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,12 +17,13 @@ limitations under the License.
<!-- In v14, postive button on the right. --> <!-- In v14, postive button on the right. -->
<Button <Button
android:id="@+id/track_edit_cancel" android:id="@+id/track_edit_cancel"
style="@style/BottomButton"
android:layout_gravity="left" android:layout_gravity="left"
android:text="@string/generic_cancel" android:text="@string/generic_cancel" />
style="@style/BottomButton" />
<Button <Button
android:id="@+id/track_edit_save" android:id="@+id/track_edit_save"
style="@style/BottomButton"
android:layout_gravity="right" android:layout_gravity="right"
android:text="@string/generic_save" android:text="@string/generic_save" />
style="@style/BottomButton" />
</merge> </merge>
+37 -28
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2010 Google Inc. Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,63 +14,73 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="match_parent"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"> android:orientation="vertical">
<ListView <ListView
android:id="@+id/track_list" android:id="@+id/track_list"
android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_weight="1.0" android:layout_weight="1.0" />
android:layout_width="match_parent" />
<RelativeLayout <RelativeLayout
android:id="@+id/track_list_empty_view" android:id="@+id/track_list_empty_view"
android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_weight="1.0" android:layout_weight="1.0">
android:layout_width="match_parent" >
<LinearLayout <LinearLayout
android:id="@+id/track_list_arrow_long" android:id="@+id/track_list_arrow_long"
android:layout_alignParentBottom="true"
android:layout_height="wrap_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:paddingBottom="12dp" android:layout_height="wrap_content"
android:paddingTop="16dp" > android:layout_alignParentBottom="true"
android:paddingTop="16dp"
android:paddingBottom="12dp">
<View <View
android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="1" android:layout_weight="1" />
android:layout_width="0dp" />
<ImageView <ImageView
android:contentDescription="@string/image_arrow" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="10" android:layout_weight="10"
android:layout_width="0dp" android:contentDescription="@string/image_arrow"
android:src="@drawable/ic_arrow_long" /> android:src="@drawable/ic_arrow_long" />
<View <View
android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="17" android:layout_weight="17" />
android:layout_width="0dp" />
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
android:layout_above="@id/track_list_arrow_long" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="match_parent" > android:layout_above="@id/track_list_arrow_long">
<View <View
android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="5" android:layout_weight="5" />
android:layout_width="0dp" />
<TextView <TextView
android:gravity="left" style="@style/TextLarge"
android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="22" android:layout_weight="22"
android:layout_width="0dp" android:gravity="left"
android:text="@string/track_list_empty_message" android:text="@string/track_list_empty_message"
android:textColor="@color/list_empty_text" android:textColor="@color/list_empty_text"></TextView>
style="@style/TextLarge" >
</TextView>
<View <View
android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="1" android:layout_weight="1" />
android:layout_width="0dp" />
</LinearLayout> </LinearLayout>
</RelativeLayout> </RelativeLayout>
<include layout="@layout/track_controller" /> <include layout="@layout/track_controller" />
</LinearLayout> </LinearLayout>
+47 -27
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2012 Google Inc. Copyright 2012 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,38 +17,47 @@ limitations under the License.
style="@style/TrackWidgetBoundingBox"> style="@style/TrackWidgetBoundingBox">
<!-- android:orientation="horizontal", override from the style --> <!-- android:orientation="horizontal", override from the style -->
<LinearLayout <LinearLayout
style="@style/TrackWidgetFrame"
android:orientation="horizontal" android:orientation="horizontal"
android:paddingBottom="4dp"
android:paddingTop="4dp" android:paddingTop="4dp"
style="@style/TrackWidgetFrame" > android:paddingBottom="4dp">
<LinearLayout <LinearLayout
android:layout_weight="1" style="@style/TrackWidgetVerticalSpacer"
style="@style/TrackWidgetVerticalSpacer" /> android:layout_weight="1" />
<ImageButton <ImageButton
android:contentDescription="@string/image_record"
android:id="@+id/track_widget_record_button" android:id="@+id/track_widget_record_button"
android:src="@drawable/button_record" style="@style/TrackWidgetButton"
style="@style/TrackWidgetButton" /> android:contentDescription="@string/image_record"
android:src="@drawable/button_record" />
<LinearLayout <LinearLayout
android:id="@+id/track_widget_stats_container" android:id="@+id/track_widget_stats_container"
style="@style/TrackWidgetStatsContainer"
android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_weight="18" android:layout_weight="18"
android:layout_width="0dp" android:padding="0dp">
android:padding="0dp"
style="@style/TrackWidgetStatsContainer" >
<LinearLayout style="@style/TrackWidgetStatsSection"> <LinearLayout style="@style/TrackWidgetStatsSection">
<!-- item1 --> <!-- item1 -->
<LinearLayout style="@style/TrackWidgetItemContainer"> <LinearLayout style="@style/TrackWidgetItemContainer">
<TextView <TextView
android:id="@+id/track_widget_item1_label" android:id="@+id/track_widget_item1_label"
style="@style/TrackWidgetLabel" /> style="@style/TrackWidgetLabel" />
<LinearLayout style="@style/TrackWidgetValueContainer"> <LinearLayout style="@style/TrackWidgetValueContainer">
<TextView <TextView
android:id="@+id/track_widget_item1_value" android:id="@+id/track_widget_item1_value"
style="@style/TrackWidgetValue" /> style="@style/TrackWidgetValue" />
<TextView <TextView
android:id="@+id/track_widget_item1_unit" android:id="@+id/track_widget_item1_unit"
style="@style/TrackWidgetUnit" /> style="@style/TrackWidgetUnit" />
<Chronometer <Chronometer
android:id="@+id/track_widget_item1_chronometer" android:id="@+id/track_widget_item1_chronometer"
style="@style/TrackWidgetValue" /> style="@style/TrackWidgetValue" />
@@ -58,31 +66,40 @@ limitations under the License.
</LinearLayout> </LinearLayout>
<!-- horizontal separator --> <!-- horizontal separator -->
<LinearLayout <LinearLayout
android:baselineAligned="false" style="@style/TrackWidgetHorizontalSeparator"
style="@style/TrackWidgetHorizontalSeparator" > android:baselineAligned="false">
<LinearLayout <LinearLayout
android:layout_weight="1" style="@style/TrackWidgetHorizontalSpacer"
style="@style/TrackWidgetHorizontalSpacer" /> android:layout_weight="1" />
<LinearLayout <LinearLayout
android:layout_weight="38" style="@style/TrackWidgetHorizontalLine"
style="@style/TrackWidgetHorizontalLine" /> android:layout_weight="38" />
<LinearLayout <LinearLayout
android:layout_weight="1" style="@style/TrackWidgetHorizontalSpacer"
style="@style/TrackWidgetHorizontalSpacer" /> android:layout_weight="1" />
</LinearLayout> </LinearLayout>
<LinearLayout style="@style/TrackWidgetStatsSection"> <LinearLayout style="@style/TrackWidgetStatsSection">
<LinearLayout style="@style/TrackWidgetItemContainer"> <LinearLayout style="@style/TrackWidgetItemContainer">
<!-- item2 --> <!-- item2 -->
<TextView <TextView
android:id="@+id/track_widget_item2_label" android:id="@+id/track_widget_item2_label"
style="@style/TrackWidgetLabel" /> style="@style/TrackWidgetLabel" />
<LinearLayout style="@style/TrackWidgetValueContainer"> <LinearLayout style="@style/TrackWidgetValueContainer">
<TextView <TextView
android:id="@+id/track_widget_item2_value" android:id="@+id/track_widget_item2_value"
style="@style/TrackWidgetValue" /> style="@style/TrackWidgetValue" />
<TextView <TextView
android:id="@+id/track_widget_item2_unit" android:id="@+id/track_widget_item2_unit"
style="@style/TrackWidgetUnit" /> style="@style/TrackWidgetUnit" />
<Chronometer <Chronometer
android:id="@+id/track_widget_item2_chronometer" android:id="@+id/track_widget_item2_chronometer"
style="@style/TrackWidgetValue" /> style="@style/TrackWidgetValue" />
@@ -90,16 +107,19 @@ limitations under the License.
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
<ImageButton <ImageButton
android:contentDescription="@string/image_stop"
android:id="@+id/track_widget_stop_button" android:id="@+id/track_widget_stop_button"
android:src="@drawable/ic_button_stop_disabled" style="@style/TrackWidgetButton"
style="@style/TrackWidgetButton" /> android:contentDescription="@string/image_stop"
android:src="@drawable/ic_button_stop_disabled" />
<LinearLayout <LinearLayout
android:layout_weight="1" style="@style/TrackWidgetVerticalSpacer"
style="@style/TrackWidgetVerticalSpacer" /> android:layout_weight="1" />
</LinearLayout> </LinearLayout>
<ImageView <ImageView
android:contentDescription="@string/image_my_tracks_logo" style="@style/TrackWidgetLogo"
style="@style/TrackWidgetLogo" /> android:contentDescription="@string/image_my_tracks_logo" />
</RelativeLayout> </RelativeLayout>
+75 -38
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2012 Google Inc. Copyright 2012 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -16,27 +15,35 @@ limitations under the License.
--> -->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/TrackWidgetBoundingBox"> style="@style/TrackWidgetBoundingBox">
<LinearLayout <LinearLayout
android:baselineAligned="false" style="@style/TrackWidgetFrame"
style="@style/TrackWidgetFrame" > android:baselineAligned="false">
<LinearLayout <LinearLayout
android:baselineAligned="false"
android:id="@+id/track_widget_stats_container" android:id="@+id/track_widget_stats_container"
style="@style/TrackWidgetStatsContainer"
android:layout_weight="1" android:layout_weight="1"
style="@style/TrackWidgetStatsContainer" > android:baselineAligned="false">
<LinearLayout style="@style/TrackWidgetStatsSection"> <LinearLayout style="@style/TrackWidgetStatsSection">
<!-- item1 --> <!-- item1 -->
<LinearLayout style="@style/TrackWidgetItemContainer4x2"> <LinearLayout style="@style/TrackWidgetItemContainer4x2">
<TextView <TextView
android:id="@+id/track_widget_item1_label" android:id="@+id/track_widget_item1_label"
style="@style/TrackWidgetLabel" /> style="@style/TrackWidgetLabel" />
<LinearLayout style="@style/TrackWidgetValueContainer"> <LinearLayout style="@style/TrackWidgetValueContainer">
<TextView <TextView
android:id="@+id/track_widget_item1_value" android:id="@+id/track_widget_item1_value"
style="@style/TrackWidgetValue" /> style="@style/TrackWidgetValue" />
<TextView <TextView
android:id="@+id/track_widget_item1_unit" android:id="@+id/track_widget_item1_unit"
style="@style/TrackWidgetUnit" /> style="@style/TrackWidgetUnit" />
<Chronometer <Chronometer
android:id="@+id/track_widget_item1_chronometer" android:id="@+id/track_widget_item1_chronometer"
style="@style/TrackWidgetValue" /> style="@style/TrackWidgetValue" />
@@ -44,27 +51,34 @@ limitations under the License.
</LinearLayout> </LinearLayout>
<!-- vertical separator --> <!-- vertical separator -->
<LinearLayout <LinearLayout
android:baselineAligned="false" style="@style/TrackWidgetVerticalSeparator"
style="@style/TrackWidgetVerticalSeparator" > android:baselineAligned="false">
<LinearLayout <LinearLayout
android:layout_weight="2" style="@style/TrackWidgetVerticalSpacer"
style="@style/TrackWidgetVerticalSpacer" /> android:layout_weight="2" />
<LinearLayout <LinearLayout
android:layout_weight="1" style="@style/TrackWidgetVerticalLine"
style="@style/TrackWidgetVerticalLine" /> android:layout_weight="1" />
</LinearLayout> </LinearLayout>
<!-- item3 --> <!-- item3 -->
<LinearLayout style="@style/TrackWidgetItemContainer4x2"> <LinearLayout style="@style/TrackWidgetItemContainer4x2">
<TextView <TextView
android:id="@+id/track_widget_item3_label" android:id="@+id/track_widget_item3_label"
style="@style/TrackWidgetLabel" /> style="@style/TrackWidgetLabel" />
<LinearLayout style="@style/TrackWidgetValueContainer"> <LinearLayout style="@style/TrackWidgetValueContainer">
<TextView <TextView
android:id="@+id/track_widget_item3_value" android:id="@+id/track_widget_item3_value"
style="@style/TrackWidgetValue" /> style="@style/TrackWidgetValue" />
<TextView <TextView
android:id="@+id/track_widget_item3_unit" android:id="@+id/track_widget_item3_unit"
style="@style/TrackWidgetUnit" /> style="@style/TrackWidgetUnit" />
<Chronometer <Chronometer
android:id="@+id/track_widget_item3_chronometer" android:id="@+id/track_widget_item3_chronometer"
style="@style/TrackWidgetValue" /> style="@style/TrackWidgetValue" />
@@ -73,31 +87,40 @@ limitations under the License.
</LinearLayout> </LinearLayout>
<!-- horizontal separator --> <!-- horizontal separator -->
<LinearLayout <LinearLayout
android:baselineAligned="false" style="@style/TrackWidgetHorizontalSeparator"
style="@style/TrackWidgetHorizontalSeparator" > android:baselineAligned="false">
<LinearLayout <LinearLayout
android:layout_weight="1" style="@style/TrackWidgetHorizontalSpacer"
style="@style/TrackWidgetHorizontalSpacer" /> android:layout_weight="1" />
<LinearLayout <LinearLayout
android:layout_weight="38" style="@style/TrackWidgetHorizontalLine"
style="@style/TrackWidgetHorizontalLine" /> android:layout_weight="38" />
<LinearLayout <LinearLayout
android:layout_weight="1" style="@style/TrackWidgetHorizontalSpacer"
style="@style/TrackWidgetHorizontalSpacer" /> android:layout_weight="1" />
</LinearLayout> </LinearLayout>
<LinearLayout style="@style/TrackWidgetStatsSection"> <LinearLayout style="@style/TrackWidgetStatsSection">
<!-- item2 --> <!-- item2 -->
<LinearLayout style="@style/TrackWidgetItemContainer4x2"> <LinearLayout style="@style/TrackWidgetItemContainer4x2">
<TextView <TextView
android:id="@+id/track_widget_item2_label" android:id="@+id/track_widget_item2_label"
style="@style/TrackWidgetLabel" /> style="@style/TrackWidgetLabel" />
<LinearLayout style="@style/TrackWidgetValueContainer"> <LinearLayout style="@style/TrackWidgetValueContainer">
<TextView <TextView
android:id="@+id/track_widget_item2_value" android:id="@+id/track_widget_item2_value"
style="@style/TrackWidgetValue" /> style="@style/TrackWidgetValue" />
<TextView <TextView
android:id="@+id/track_widget_item2_unit" android:id="@+id/track_widget_item2_unit"
style="@style/TrackWidgetUnit" /> style="@style/TrackWidgetUnit" />
<Chronometer <Chronometer
android:id="@+id/track_widget_item2_chronometer" android:id="@+id/track_widget_item2_chronometer"
style="@style/TrackWidgetValue" /> style="@style/TrackWidgetValue" />
@@ -105,27 +128,34 @@ limitations under the License.
</LinearLayout> </LinearLayout>
<!-- vertical separator --> <!-- vertical separator -->
<LinearLayout <LinearLayout
android:baselineAligned="false" style="@style/TrackWidgetVerticalSeparator"
style="@style/TrackWidgetVerticalSeparator" > android:baselineAligned="false">
<LinearLayout <LinearLayout
android:layout_weight="1" style="@style/TrackWidgetVerticalLine"
style="@style/TrackWidgetVerticalLine" /> android:layout_weight="1" />
<LinearLayout <LinearLayout
android:layout_weight="2" style="@style/TrackWidgetVerticalSpacer"
style="@style/TrackWidgetVerticalSpacer" /> android:layout_weight="2" />
</LinearLayout> </LinearLayout>
<!-- item4 --> <!-- item4 -->
<LinearLayout style="@style/TrackWidgetItemContainer4x2"> <LinearLayout style="@style/TrackWidgetItemContainer4x2">
<TextView <TextView
android:id="@+id/track_widget_item4_label" android:id="@+id/track_widget_item4_label"
style="@style/TrackWidgetLabel" /> style="@style/TrackWidgetLabel" />
<LinearLayout style="@style/TrackWidgetValueContainer"> <LinearLayout style="@style/TrackWidgetValueContainer">
<TextView <TextView
android:id="@+id/track_widget_item4_value" android:id="@+id/track_widget_item4_value"
style="@style/TrackWidgetValue" /> style="@style/TrackWidgetValue" />
<TextView <TextView
android:id="@+id/track_widget_item4_unit" android:id="@+id/track_widget_item4_unit"
style="@style/TrackWidgetUnit" /> style="@style/TrackWidgetUnit" />
<Chronometer <Chronometer
android:id="@+id/track_widget_item4_chronometer" android:id="@+id/track_widget_item4_chronometer"
style="@style/TrackWidgetValue" /> style="@style/TrackWidgetValue" />
@@ -133,29 +163,36 @@ limitations under the License.
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
<LinearLayout style="@style/TrackWidgetButtonContainer"> <LinearLayout style="@style/TrackWidgetButtonContainer">
<LinearLayout <LinearLayout
android:layout_weight="1" style="@style/TrackWidgetVerticalSpacer"
style="@style/TrackWidgetVerticalSpacer" /> android:layout_weight="1" />
<ImageButton <ImageButton
android:contentDescription="@string/image_record"
android:id="@+id/track_widget_record_button" android:id="@+id/track_widget_record_button"
android:src="@drawable/button_record" style="@style/TrackWidgetButton"
style="@style/TrackWidgetButton" /> android:contentDescription="@string/image_record"
android:src="@drawable/button_record" />
<TextView <TextView
android:id="@+id/track_widget_record_status" android:id="@+id/track_widget_record_status"
style="@style/TrackWidgetRecordStatus" /> style="@style/TrackWidgetRecordStatus" />
<ImageButton <ImageButton
android:contentDescription="@string/image_stop"
android:id="@+id/track_widget_stop_button" android:id="@+id/track_widget_stop_button"
android:src="@drawable/ic_button_stop_disabled" style="@style/TrackWidgetButton"
style="@style/TrackWidgetButton" /> android:contentDescription="@string/image_stop"
android:src="@drawable/ic_button_stop_disabled" />
<LinearLayout <LinearLayout
android:layout_weight="1" style="@style/TrackWidgetVerticalSpacer"
style="@style/TrackWidgetVerticalSpacer" /> android:layout_weight="1" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
<ImageView <ImageView
android:contentDescription="@string/image_my_tracks_logo" style="@style/TrackWidgetLogo"
style="@style/TrackWidgetLogo" /> android:contentDescription="@string/image_my_tracks_logo" />
</RelativeLayout> </RelativeLayout>
+75 -38
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2012 Google Inc. Copyright 2012 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -16,27 +15,35 @@ limitations under the License.
--> -->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/TrackWidgetBoundingBox"> style="@style/TrackWidgetBoundingBox">
<LinearLayout <LinearLayout
android:baselineAligned="false" style="@style/TrackWidgetFrame"
style="@style/TrackWidgetFrame" > android:baselineAligned="false">
<LinearLayout <LinearLayout
android:baselineAligned="false"
android:id="@+id/track_widget_stats_container" android:id="@+id/track_widget_stats_container"
style="@style/TrackWidgetStatsContainer"
android:layout_weight="2" android:layout_weight="2"
style="@style/TrackWidgetStatsContainer" > android:baselineAligned="false">
<LinearLayout style="@style/TrackWidgetStatsSection"> <LinearLayout style="@style/TrackWidgetStatsSection">
<!-- item1 --> <!-- item1 -->
<LinearLayout style="@style/TrackWidgetItemContainer4x3"> <LinearLayout style="@style/TrackWidgetItemContainer4x3">
<TextView <TextView
android:id="@+id/track_widget_item1_label" android:id="@+id/track_widget_item1_label"
style="@style/TrackWidgetLabel" /> style="@style/TrackWidgetLabel" />
<LinearLayout style="@style/TrackWidgetValueContainer4x3"> <LinearLayout style="@style/TrackWidgetValueContainer4x3">
<TextView <TextView
android:id="@+id/track_widget_item1_value" android:id="@+id/track_widget_item1_value"
style="@style/TrackWidgetValue4x3" /> style="@style/TrackWidgetValue4x3" />
<TextView <TextView
android:id="@+id/track_widget_item1_unit" android:id="@+id/track_widget_item1_unit"
style="@style/TrackWidgetUnit4x3" /> style="@style/TrackWidgetUnit4x3" />
<Chronometer <Chronometer
android:id="@+id/track_widget_item1_chronometer" android:id="@+id/track_widget_item1_chronometer"
style="@style/TrackWidgetValue4x3" /> style="@style/TrackWidgetValue4x3" />
@@ -44,27 +51,34 @@ limitations under the License.
</LinearLayout> </LinearLayout>
<!-- vertical separator --> <!-- vertical separator -->
<LinearLayout <LinearLayout
android:baselineAligned="false" style="@style/TrackWidgetVerticalSeparator"
style="@style/TrackWidgetVerticalSeparator" > android:baselineAligned="false">
<LinearLayout <LinearLayout
android:layout_weight="2" style="@style/TrackWidgetVerticalSpacer"
style="@style/TrackWidgetVerticalSpacer" /> android:layout_weight="2" />
<LinearLayout <LinearLayout
android:layout_weight="1" style="@style/TrackWidgetVerticalLine"
style="@style/TrackWidgetVerticalLine" /> android:layout_weight="1" />
</LinearLayout> </LinearLayout>
<!-- item3 --> <!-- item3 -->
<LinearLayout style="@style/TrackWidgetItemContainer4x3"> <LinearLayout style="@style/TrackWidgetItemContainer4x3">
<TextView <TextView
android:id="@+id/track_widget_item3_label" android:id="@+id/track_widget_item3_label"
style="@style/TrackWidgetLabel" /> style="@style/TrackWidgetLabel" />
<LinearLayout style="@style/TrackWidgetValueContainer4x3"> <LinearLayout style="@style/TrackWidgetValueContainer4x3">
<TextView <TextView
android:id="@+id/track_widget_item3_value" android:id="@+id/track_widget_item3_value"
style="@style/TrackWidgetValue4x3" /> style="@style/TrackWidgetValue4x3" />
<TextView <TextView
android:id="@+id/track_widget_item3_unit" android:id="@+id/track_widget_item3_unit"
style="@style/TrackWidgetUnit4x3" /> style="@style/TrackWidgetUnit4x3" />
<Chronometer <Chronometer
android:id="@+id/track_widget_item3_chronometer" android:id="@+id/track_widget_item3_chronometer"
style="@style/TrackWidgetValue4x3" /> style="@style/TrackWidgetValue4x3" />
@@ -73,31 +87,40 @@ limitations under the License.
</LinearLayout> </LinearLayout>
<!-- horizontal separator --> <!-- horizontal separator -->
<LinearLayout <LinearLayout
android:baselineAligned="false" style="@style/TrackWidgetHorizontalSeparator"
style="@style/TrackWidgetHorizontalSeparator" > android:baselineAligned="false">
<LinearLayout <LinearLayout
android:layout_weight="1" style="@style/TrackWidgetHorizontalSpacer"
style="@style/TrackWidgetHorizontalSpacer" /> android:layout_weight="1" />
<LinearLayout <LinearLayout
android:layout_weight="38" style="@style/TrackWidgetHorizontalLine"
style="@style/TrackWidgetHorizontalLine" /> android:layout_weight="38" />
<LinearLayout <LinearLayout
android:layout_weight="1" style="@style/TrackWidgetHorizontalSpacer"
style="@style/TrackWidgetHorizontalSpacer" /> android:layout_weight="1" />
</LinearLayout> </LinearLayout>
<LinearLayout style="@style/TrackWidgetStatsSection"> <LinearLayout style="@style/TrackWidgetStatsSection">
<!-- item2 --> <!-- item2 -->
<LinearLayout style="@style/TrackWidgetItemContainer4x3"> <LinearLayout style="@style/TrackWidgetItemContainer4x3">
<TextView <TextView
android:id="@+id/track_widget_item2_label" android:id="@+id/track_widget_item2_label"
style="@style/TrackWidgetLabel" /> style="@style/TrackWidgetLabel" />
<LinearLayout style="@style/TrackWidgetValueContainer4x3"> <LinearLayout style="@style/TrackWidgetValueContainer4x3">
<TextView <TextView
android:id="@+id/track_widget_item2_value" android:id="@+id/track_widget_item2_value"
style="@style/TrackWidgetValue4x3" /> style="@style/TrackWidgetValue4x3" />
<TextView <TextView
android:id="@+id/track_widget_item2_unit" android:id="@+id/track_widget_item2_unit"
style="@style/TrackWidgetUnit4x3" /> style="@style/TrackWidgetUnit4x3" />
<Chronometer <Chronometer
android:id="@+id/track_widget_item2_chronometer" android:id="@+id/track_widget_item2_chronometer"
style="@style/TrackWidgetValue4x3" /> style="@style/TrackWidgetValue4x3" />
@@ -105,27 +128,34 @@ limitations under the License.
</LinearLayout> </LinearLayout>
<!-- vertical separator --> <!-- vertical separator -->
<LinearLayout <LinearLayout
android:baselineAligned="false" style="@style/TrackWidgetVerticalSeparator"
style="@style/TrackWidgetVerticalSeparator" > android:baselineAligned="false">
<LinearLayout <LinearLayout
android:layout_weight="1" style="@style/TrackWidgetVerticalLine"
style="@style/TrackWidgetVerticalLine" /> android:layout_weight="1" />
<LinearLayout <LinearLayout
android:layout_weight="2" style="@style/TrackWidgetVerticalSpacer"
style="@style/TrackWidgetVerticalSpacer" /> android:layout_weight="2" />
</LinearLayout> </LinearLayout>
<!-- item4 --> <!-- item4 -->
<LinearLayout style="@style/TrackWidgetItemContainer4x3"> <LinearLayout style="@style/TrackWidgetItemContainer4x3">
<TextView <TextView
android:id="@+id/track_widget_item4_label" android:id="@+id/track_widget_item4_label"
style="@style/TrackWidgetLabel" /> style="@style/TrackWidgetLabel" />
<LinearLayout style="@style/TrackWidgetValueContainer4x3"> <LinearLayout style="@style/TrackWidgetValueContainer4x3">
<TextView <TextView
android:id="@+id/track_widget_item4_value" android:id="@+id/track_widget_item4_value"
style="@style/TrackWidgetValue4x3" /> style="@style/TrackWidgetValue4x3" />
<TextView <TextView
android:id="@+id/track_widget_item4_unit" android:id="@+id/track_widget_item4_unit"
style="@style/TrackWidgetUnit4x3" /> style="@style/TrackWidgetUnit4x3" />
<Chronometer <Chronometer
android:id="@+id/track_widget_item4_chronometer" android:id="@+id/track_widget_item4_chronometer"
style="@style/TrackWidgetValue4x3" /> style="@style/TrackWidgetValue4x3" />
@@ -133,29 +163,36 @@ limitations under the License.
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
<LinearLayout style="@style/TrackWidgetButtonContainer"> <LinearLayout style="@style/TrackWidgetButtonContainer">
<LinearLayout <LinearLayout
android:layout_weight="1" style="@style/TrackWidgetVerticalSpacer"
style="@style/TrackWidgetVerticalSpacer" /> android:layout_weight="1" />
<ImageButton <ImageButton
android:contentDescription="@string/image_record"
android:id="@+id/track_widget_record_button" android:id="@+id/track_widget_record_button"
android:src="@drawable/button_record" style="@style/TrackWidgetButton"
style="@style/TrackWidgetButton" /> android:contentDescription="@string/image_record"
android:src="@drawable/button_record" />
<TextView <TextView
android:id="@+id/track_widget_record_status" android:id="@+id/track_widget_record_status"
style="@style/TrackWidgetRecordStatus" /> style="@style/TrackWidgetRecordStatus" />
<ImageButton <ImageButton
android:contentDescription="@string/image_stop"
android:id="@+id/track_widget_stop_button" android:id="@+id/track_widget_stop_button"
android:src="@drawable/ic_button_stop_disabled" style="@style/TrackWidgetButton"
style="@style/TrackWidgetButton" /> android:contentDescription="@string/image_stop"
android:src="@drawable/ic_button_stop_disabled" />
<LinearLayout <LinearLayout
android:layout_weight="1" style="@style/TrackWidgetVerticalSpacer"
style="@style/TrackWidgetVerticalSpacer" /> android:layout_weight="1" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
<ImageView <ImageView
android:contentDescription="@string/image_my_tracks_logo" style="@style/TrackWidgetLogo"
style="@style/TrackWidgetLogo" /> android:contentDescription="@string/image_my_tracks_logo" />
</RelativeLayout> </RelativeLayout>
+80 -40
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2012 Google Inc. Copyright 2012 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -16,27 +15,35 @@ limitations under the License.
--> -->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/TrackWidgetBoundingBox"> style="@style/TrackWidgetBoundingBox">
<LinearLayout <LinearLayout
android:baselineAligned="false" style="@style/TrackWidgetFrame"
style="@style/TrackWidgetFrame" > android:baselineAligned="false">
<LinearLayout <LinearLayout
android:baselineAligned="false"
android:id="@+id/track_widget_stats_container" android:id="@+id/track_widget_stats_container"
style="@style/TrackWidgetStatsContainer"
android:layout_weight="3" android:layout_weight="3"
style="@style/TrackWidgetStatsContainer" > android:baselineAligned="false">
<LinearLayout style="@style/TrackWidgetStatsSection"> <LinearLayout style="@style/TrackWidgetStatsSection">
<!-- item1 --> <!-- item1 -->
<LinearLayout style="@style/TrackWidgetItemContainer4x4"> <LinearLayout style="@style/TrackWidgetItemContainer4x4">
<TextView <TextView
android:id="@+id/track_widget_item1_label" android:id="@+id/track_widget_item1_label"
style="@style/TrackWidgetLabel4x4" /> style="@style/TrackWidgetLabel4x4" />
<LinearLayout style="@style/TrackWidgetValueContainer4x3"> <LinearLayout style="@style/TrackWidgetValueContainer4x3">
<TextView <TextView
android:id="@+id/track_widget_item1_value" android:id="@+id/track_widget_item1_value"
style="@style/TrackWidgetValue4x4" /> style="@style/TrackWidgetValue4x4" />
<TextView <TextView
android:id="@+id/track_widget_item1_unit" android:id="@+id/track_widget_item1_unit"
style="@style/TrackWidgetUnit4x4" /> style="@style/TrackWidgetUnit4x4" />
<Chronometer <Chronometer
android:id="@+id/track_widget_item1_chronometer" android:id="@+id/track_widget_item1_chronometer"
style="@style/TrackWidgetValue4x4" /> style="@style/TrackWidgetValue4x4" />
@@ -45,63 +52,82 @@ limitations under the License.
</LinearLayout> </LinearLayout>
<!-- horizontal separator --> <!-- horizontal separator -->
<LinearLayout <LinearLayout
android:baselineAligned="false" style="@style/TrackWidgetHorizontalSeparator"
style="@style/TrackWidgetHorizontalSeparator" > android:baselineAligned="false">
<LinearLayout <LinearLayout
android:layout_weight="1" style="@style/TrackWidgetHorizontalSpacer"
style="@style/TrackWidgetHorizontalSpacer" /> android:layout_weight="1" />
<LinearLayout <LinearLayout
android:layout_weight="4" style="@style/TrackWidgetHorizontalLine"
style="@style/TrackWidgetHorizontalLine" /> android:layout_weight="4" />
<LinearLayout <LinearLayout
android:layout_weight="1" style="@style/TrackWidgetHorizontalSpacer"
style="@style/TrackWidgetHorizontalSpacer" /> android:layout_weight="1" />
</LinearLayout> </LinearLayout>
<LinearLayout style="@style/TrackWidgetStatsSection"> <LinearLayout style="@style/TrackWidgetStatsSection">
<!-- item3 --> <!-- item3 -->
<LinearLayout style="@style/TrackWidgetItemContainer4x4"> <LinearLayout style="@style/TrackWidgetItemContainer4x4">
<TextView <TextView
android:id="@+id/track_widget_item3_label" android:id="@+id/track_widget_item3_label"
style="@style/TrackWidgetLabel4x4" /> style="@style/TrackWidgetLabel4x4" />
<LinearLayout style="@style/TrackWidgetValueContainer4x3"> <LinearLayout style="@style/TrackWidgetValueContainer4x3">
<TextView <TextView
android:id="@+id/track_widget_item3_value" android:id="@+id/track_widget_item3_value"
style="@style/TrackWidgetValue4x4" /> style="@style/TrackWidgetValue4x4" />
<TextView <TextView
android:id="@+id/track_widget_item3_unit" android:id="@+id/track_widget_item3_unit"
style="@style/TrackWidgetUnit4x4" /> style="@style/TrackWidgetUnit4x4" />
<Chronometer <Chronometer
android:id="@+id/track_widget_item3_chronometer" android:id="@+id/track_widget_item3_chronometer"
style="@style/TrackWidgetValue4x4" /> style="@style/TrackWidgetValue4x4" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
android:baselineAligned="false" style="@style/TrackWidgetHorizontalSeparator"
style="@style/TrackWidgetHorizontalSeparator" > android:baselineAligned="false">
<LinearLayout <LinearLayout
android:layout_weight="1" style="@style/TrackWidgetHorizontalSpacer"
style="@style/TrackWidgetHorizontalSpacer" /> android:layout_weight="1" />
<LinearLayout <LinearLayout
android:layout_weight="38" style="@style/TrackWidgetHorizontalLine"
style="@style/TrackWidgetHorizontalLine" /> android:layout_weight="38" />
<LinearLayout <LinearLayout
android:layout_weight="1" style="@style/TrackWidgetHorizontalSpacer"
style="@style/TrackWidgetHorizontalSpacer" /> android:layout_weight="1" />
</LinearLayout> </LinearLayout>
<LinearLayout style="@style/TrackWidgetStatsSection"> <LinearLayout style="@style/TrackWidgetStatsSection">
<!-- item2 --> <!-- item2 -->
<LinearLayout style="@style/TrackWidgetItemContainer4x3"> <LinearLayout style="@style/TrackWidgetItemContainer4x3">
<TextView <TextView
android:id="@+id/track_widget_item2_label" android:id="@+id/track_widget_item2_label"
style="@style/TrackWidgetLabel4x4" /> style="@style/TrackWidgetLabel4x4" />
<LinearLayout style="@style/TrackWidgetValueContainer4x3"> <LinearLayout style="@style/TrackWidgetValueContainer4x3">
<TextView <TextView
android:id="@+id/track_widget_item2_value" android:id="@+id/track_widget_item2_value"
style="@style/TrackWidgetValue4x3" /> style="@style/TrackWidgetValue4x3" />
<TextView <TextView
android:id="@+id/track_widget_item2_unit" android:id="@+id/track_widget_item2_unit"
style="@style/TrackWidgetUnit4x3" /> style="@style/TrackWidgetUnit4x3" />
<Chronometer <Chronometer
android:id="@+id/track_widget_item2_chronometer" android:id="@+id/track_widget_item2_chronometer"
style="@style/TrackWidgetValue4x3" /> style="@style/TrackWidgetValue4x3" />
@@ -109,27 +135,34 @@ limitations under the License.
</LinearLayout> </LinearLayout>
<!-- vertical separator --> <!-- vertical separator -->
<LinearLayout <LinearLayout
android:baselineAligned="false" style="@style/TrackWidgetVerticalSeparator"
style="@style/TrackWidgetVerticalSeparator" > android:baselineAligned="false">
<LinearLayout <LinearLayout
android:layout_weight="1" style="@style/TrackWidgetVerticalLine"
style="@style/TrackWidgetVerticalLine" /> android:layout_weight="1" />
<LinearLayout <LinearLayout
android:layout_weight="2" style="@style/TrackWidgetVerticalSpacer"
style="@style/TrackWidgetVerticalSpacer" /> android:layout_weight="2" />
</LinearLayout> </LinearLayout>
<!-- item4 --> <!-- item4 -->
<LinearLayout style="@style/TrackWidgetItemContainer4x3"> <LinearLayout style="@style/TrackWidgetItemContainer4x3">
<TextView <TextView
android:id="@+id/track_widget_item4_label" android:id="@+id/track_widget_item4_label"
style="@style/TrackWidgetLabel4x4" /> style="@style/TrackWidgetLabel4x4" />
<LinearLayout style="@style/TrackWidgetValueContainer4x3"> <LinearLayout style="@style/TrackWidgetValueContainer4x3">
<TextView <TextView
android:id="@+id/track_widget_item4_value" android:id="@+id/track_widget_item4_value"
style="@style/TrackWidgetValue4x3" /> style="@style/TrackWidgetValue4x3" />
<TextView <TextView
android:id="@+id/track_widget_item4_unit" android:id="@+id/track_widget_item4_unit"
style="@style/TrackWidgetUnit4x3" /> style="@style/TrackWidgetUnit4x3" />
<Chronometer <Chronometer
android:id="@+id/track_widget_item4_chronometer" android:id="@+id/track_widget_item4_chronometer"
style="@style/TrackWidgetValue4x3" /> style="@style/TrackWidgetValue4x3" />
@@ -137,29 +170,36 @@ limitations under the License.
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
<LinearLayout style="@style/TrackWidgetButtonContainer"> <LinearLayout style="@style/TrackWidgetButtonContainer">
<LinearLayout <LinearLayout
android:layout_weight="1" style="@style/TrackWidgetVerticalSpacer"
style="@style/TrackWidgetVerticalSpacer" /> android:layout_weight="1" />
<ImageButton <ImageButton
android:contentDescription="@string/image_record"
android:id="@+id/track_widget_record_button" android:id="@+id/track_widget_record_button"
android:src="@drawable/button_record" style="@style/TrackWidgetButton"
style="@style/TrackWidgetButton" /> android:contentDescription="@string/image_record"
android:src="@drawable/button_record" />
<TextView <TextView
android:id="@+id/track_widget_record_status" android:id="@+id/track_widget_record_status"
style="@style/TrackWidgetRecordStatus" /> style="@style/TrackWidgetRecordStatus" />
<ImageButton <ImageButton
android:contentDescription="@string/image_stop"
android:id="@+id/track_widget_stop_button" android:id="@+id/track_widget_stop_button"
android:src="@drawable/ic_button_stop_disabled" style="@style/TrackWidgetButton"
style="@style/TrackWidgetButton" /> android:contentDescription="@string/image_stop"
android:src="@drawable/ic_button_stop_disabled" />
<LinearLayout <LinearLayout
android:layout_weight="1" style="@style/TrackWidgetVerticalSpacer"
style="@style/TrackWidgetVerticalSpacer" /> android:layout_weight="1" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
<ImageView <ImageView
android:contentDescription="@string/image_my_tracks_logo" style="@style/TrackWidgetLogo4x4"
style="@style/TrackWidgetLogo4x4" /> android:contentDescription="@string/image_my_tracks_logo" />
</RelativeLayout> </RelativeLayout>
+12 -4
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2012 Google Inc. Copyright 2012 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,31 +14,40 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_width="match_parent"
android:orientation="vertical"> android:orientation="vertical">
<ScrollView style="@style/ScrollView.WithBottomButtons"> <ScrollView style="@style/ScrollView.WithBottomButtons">
<LinearLayout <LinearLayout
android:layout_height="wrap_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
android:padding="8dp"> android:padding="8dp">
<Spinner <Spinner
android:id="@+id/track_widget_config_item1" android:id="@+id/track_widget_config_item1"
style="@style/TrackWidgetConfigSpinner" /> style="@style/TrackWidgetConfigSpinner" />
<Spinner <Spinner
android:id="@+id/track_widget_config_item2" android:id="@+id/track_widget_config_item2"
style="@style/TrackWidgetConfigSpinner" /> style="@style/TrackWidgetConfigSpinner" />
<Spinner <Spinner
android:id="@+id/track_widget_config_item3" android:id="@+id/track_widget_config_item3"
style="@style/TrackWidgetConfigSpinner" /> style="@style/TrackWidgetConfigSpinner" />
<Spinner <Spinner
android:id="@+id/track_widget_config_item4" android:id="@+id/track_widget_config_item4"
style="@style/TrackWidgetConfigSpinner" /> style="@style/TrackWidgetConfigSpinner" />
</LinearLayout> </LinearLayout>
</ScrollView> </ScrollView>
<View style="@style/BottomButtonDivider" /> <View style="@style/BottomButtonDivider" />
<LinearLayout style="@style/BottomButtonBar"> <LinearLayout style="@style/BottomButtonBar">
<include layout="@layout/track_widget_config_buttons" /> <include layout="@layout/track_widget_config_buttons" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2012 Google Inc. Copyright 2012 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,12 +17,13 @@ limitations under the License.
<!-- In v14, postive button on the right. --> <!-- In v14, postive button on the right. -->
<Button <Button
android:id="@+id/track_widget_config_cancel" android:id="@+id/track_widget_config_cancel"
style="@style/BottomButton"
android:layout_gravity="left" android:layout_gravity="left"
android:text="@string/generic_cancel" android:text="@string/generic_cancel" />
style="@style/BottomButton" />
<Button <Button
android:id="@+id/track_widget_config_add" android:id="@+id/track_widget_config_add"
style="@style/BottomButton"
android:layout_gravity="right" android:layout_gravity="right"
android:text="@string/generic_add" android:text="@string/generic_add" />
style="@style/BottomButton" />
</merge> </merge>
+10 -10
View File
@@ -16,27 +16,27 @@ limitations under the License.
<menu xmlns:android="http://schemas.android.com/apk/res/android"> <menu xmlns:android="http://schemas.android.com/apk/res/android">
<item <item
android:id="@+id/list_context_menu_share" android:id="@+id/list_context_menu_share"
android:title="@string/menu_share"
android:actionProviderClass="android.widget.ShareActionProvider" android:actionProviderClass="android.widget.ShareActionProvider"
android:showAsAction="ifRoom" /> android:showAsAction="ifRoom"
android:title="@string/menu_share" />
<item <item
android:id="@+id/list_context_menu_show_on_map" android:id="@+id/list_context_menu_show_on_map"
android:icon="@drawable/ic_menu_show_on_map" android:icon="@drawable/ic_menu_show_on_map"
android:title="@string/menu_show_on_map" android:showAsAction="ifRoom"
android:showAsAction="ifRoom" /> android:title="@string/menu_show_on_map" />
<item <item
android:id="@+id/list_context_menu_edit" android:id="@+id/list_context_menu_edit"
android:icon="@drawable/ic_menu_edit" android:icon="@drawable/ic_menu_edit"
android:title="@string/menu_edit" android:showAsAction="ifRoom"
android:showAsAction="ifRoom" /> android:title="@string/menu_edit" />
<item <item
android:id="@+id/list_context_menu_delete" android:id="@+id/list_context_menu_delete"
android:icon="@drawable/ic_menu_delete" android:icon="@drawable/ic_menu_delete"
android:title="@string/menu_delete" android:showAsAction="ifRoom"
android:showAsAction="ifRoom" /> android:title="@string/menu_delete" />
<item <item
android:id="@+id/list_context_menu_select_all" android:id="@+id/list_context_menu_select_all"
android:icon="@drawable/ic_menu_select_all" android:icon="@drawable/ic_menu_select_all"
android:title="@string/menu_select_all" android:showAsAction="ifRoom"
android:showAsAction="ifRoom" /> android:title="@string/menu_select_all" />
</menu> </menu>
+6 -6
View File
@@ -17,16 +17,16 @@ limitations under the License.
<item <item
android:id="@+id/marker_detail_show_on_map" android:id="@+id/marker_detail_show_on_map"
android:icon="@drawable/ic_menu_show_on_map" android:icon="@drawable/ic_menu_show_on_map"
android:title="@string/menu_show_on_map" android:showAsAction="ifRoom"
android:showAsAction="ifRoom" /> android:title="@string/menu_show_on_map" />
<item <item
android:id="@+id/marker_detail_edit" android:id="@+id/marker_detail_edit"
android:icon="@drawable/ic_menu_edit" android:icon="@drawable/ic_menu_edit"
android:title="@string/menu_edit" android:showAsAction="ifRoom"
android:showAsAction="ifRoom" /> android:title="@string/menu_edit" />
<item <item
android:id="@+id/marker_detail_delete" android:id="@+id/marker_detail_delete"
android:icon="@drawable/ic_menu_delete" android:icon="@drawable/ic_menu_delete"
android:title="@string/menu_delete" android:showAsAction="ifRoom"
android:showAsAction="ifRoom" /> android:title="@string/menu_delete" />
</menu> </menu>
+4 -4
View File
@@ -17,11 +17,11 @@ limitations under the License.
<item <item
android:id="@+id/marker_list_insert_marker" android:id="@+id/marker_list_insert_marker"
android:icon="@drawable/ic_menu_insert_marker" android:icon="@drawable/ic_menu_insert_marker"
android:title="@string/menu_insert_marker" android:showAsAction="ifRoom"
android:showAsAction="ifRoom" /> android:title="@string/menu_insert_marker" />
<item <item
android:id="@+id/marker_list_search" android:id="@+id/marker_list_search"
android:title="@string/menu_search"
android:actionViewClass="android.widget.SearchView" android:actionViewClass="android.widget.SearchView"
android:showAsAction="ifRoom" /> android:showAsAction="ifRoom"
android:title="@string/menu_search" />
</menu> </menu>
+2 -2
View File
@@ -16,7 +16,7 @@ limitations under the License.
<menu xmlns:android="http://schemas.android.com/apk/res/android"> <menu xmlns:android="http://schemas.android.com/apk/res/android">
<item <item
android:id="@+id/search_list_search" android:id="@+id/search_list_search"
android:title="@string/menu_search"
android:actionViewClass="android.widget.SearchView" android:actionViewClass="android.widget.SearchView"
android:showAsAction="ifRoom" /> android:showAsAction="ifRoom"
android:title="@string/menu_search" />
</menu> </menu>
+9 -9
View File
@@ -18,26 +18,26 @@ limitations under the License.
android:id="@+id/track_detail_insert_marker" android:id="@+id/track_detail_insert_marker"
android:icon="@drawable/ic_menu_insert_marker" android:icon="@drawable/ic_menu_insert_marker"
android:orderInCategory="1" android:orderInCategory="1"
android:title="@string/menu_insert_marker" android:showAsAction="ifRoom"
android:showAsAction="ifRoom" /> android:title="@string/menu_insert_marker" />
<item <item
android:id="@+id/track_detail_insert_photo" android:id="@+id/track_detail_insert_photo"
android:icon="@drawable/ic_menu_insert_photo" android:icon="@drawable/ic_menu_insert_photo"
android:orderInCategory="2" android:orderInCategory="2"
android:title="@string/menu_insert_photo" android:showAsAction="ifRoom"
android:showAsAction="ifRoom" /> android:title="@string/menu_insert_photo" />
<item <item
android:id="@+id/track_detail_share" android:id="@+id/track_detail_share"
android:orderInCategory="4"
android:title="@string/menu_share"
android:actionProviderClass="android.widget.ShareActionProvider" android:actionProviderClass="android.widget.ShareActionProvider"
android:showAsAction="ifRoom" /> android:orderInCategory="4"
android:showAsAction="ifRoom"
android:title="@string/menu_share" />
<item <item
android:id="@+id/track_detail_markers" android:id="@+id/track_detail_markers"
android:icon="@drawable/ic_menu_insert_marker" android:icon="@drawable/ic_menu_insert_marker"
android:orderInCategory="5" android:orderInCategory="5"
android:title="@string/menu_markers" android:showAsAction="ifRoom"
android:showAsAction="ifRoom" /> android:title="@string/menu_markers" />
<item <item
android:id="@+id/track_detail_edit" android:id="@+id/track_detail_edit"
android:icon="@drawable/ic_menu_edit" android:icon="@drawable/ic_menu_edit"
+6 -6
View File
@@ -16,20 +16,20 @@ limitations under the License.
<menu xmlns:android="http://schemas.android.com/apk/res/android"> <menu xmlns:android="http://schemas.android.com/apk/res/android">
<item <item
android:id="@+id/track_list_search" android:id="@+id/track_list_search"
android:title="@string/menu_search"
android:actionViewClass="android.widget.SearchView" android:actionViewClass="android.widget.SearchView"
android:showAsAction="ifRoom" /> android:showAsAction="ifRoom"
android:title="@string/menu_search" />
<item <item
android:id="@+id/track_list_start_gps" android:id="@+id/track_list_start_gps"
android:icon="@drawable/ic_menu_start_gps" android:icon="@drawable/ic_menu_start_gps"
android:title="@string/menu_start_gps" android:showAsAction="ifRoom"
android:showAsAction="ifRoom" /> android:title="@string/menu_start_gps" />
<item <item
android:id="@+id/track_list_markers" android:id="@+id/track_list_markers"
android:icon="@drawable/ic_menu_insert_marker" android:icon="@drawable/ic_menu_insert_marker"
android:orderInCategory="5" android:orderInCategory="5"
android:title="@string/menu_markers" android:showAsAction="ifRoom"
android:showAsAction="ifRoom" /> android:title="@string/menu_markers" />
<item <item
android:id="@+id/track_list_aggregated_statistics" android:id="@+id/track_list_aggregated_statistics"
android:icon="@drawable/ic_menu_aggregated_statistics" android:icon="@drawable/ic_menu_aggregated_statistics"
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2010 Google Inc. Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
+1 -2
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2010 Google Inc. Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
+1 -2
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2012 Google Inc. Copyright 2012 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
+1 -2
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2010 Google Inc. Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
+1 -2
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2010 Google Inc. Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
+1 -2
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2011 Google Inc. Copyright 2011 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
File diff suppressed because it is too large Load Diff
+17 -2
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2010 Google Inc. Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,10 +14,12 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<resources xmlns:android="http://schemas.android.com/apk/res/android"> <resources xmlns:android="http://schemas.android.com/apk/res/android">
<style name="ActionBarStyleCustom" parent="@android:style/Widget.Holo.ActionBar"> <style name="ActionBarStyleCustom" parent="@android:style/Widget.Holo.ActionBar">
<!-- Same image as the source except using a grey line instead of a blue line --> <!-- Same image as the source except using a grey line instead of a blue line -->
<item name="android:background">@drawable/ab_transparent_dark_holo</item> <item name="android:background">@drawable/ab_transparent_dark_holo</item>
</style> </style>
<style name="BottomButton" parent="@android:style/Widget.Holo.Button.Borderless"> <style name="BottomButton" parent="@android:style/Widget.Holo.Button.Borderless">
<!-- Same as BottomButton in values/styles.xml except inheriting from Widget.Holo.Button.Borderles. --> <!-- Same as BottomButton in values/styles.xml except inheriting from Widget.Holo.Button.Borderles. -->
<item name="android:layout_height">wrap_content</item> <item name="android:layout_height">wrap_content</item>
@@ -26,6 +27,7 @@ limitations under the License.
<item name="android:layout_width">0dp</item> <item name="android:layout_width">0dp</item>
<item name="android:maxLines">2</item> <item name="android:maxLines">2</item>
</style> </style>
<style name="BottomButtonBar" parent="@android:style/Holo.ButtonBar"> <style name="BottomButtonBar" parent="@android:style/Holo.ButtonBar">
<!-- <!--
Same as BottomButtonBar in values/styles.xml except inheriting from Holo.ButtonBar and Same as BottomButtonBar in values/styles.xml except inheriting from Holo.ButtonBar and
@@ -35,6 +37,7 @@ limitations under the License.
<item name="android:layout_width">match_parent</item> <item name="android:layout_width">match_parent</item>
<item name="android:measureWithLargestChild">true</item> <item name="android:measureWithLargestChild">true</item>
</style> </style>
<style name="BottomButtonDivider"> <style name="BottomButtonDivider">
<item name="android:background">?android:attr/dividerVertical</item> <item name="android:background">?android:attr/dividerVertical</item>
<item name="android:layout_height">1dp</item> <item name="android:layout_height">1dp</item>
@@ -109,9 +112,11 @@ limitations under the License.
<item name="android:padding">8dp</item> <item name="android:padding">8dp</item>
<item name="android:textColor">@color/list_empty_text</item> <item name="android:textColor">@color/list_empty_text</item>
</style> </style>
<style name="ListItem"> <style name="ListItem">
<item name="android:background">?android:attr/activatedBackgroundIndicator</item> <item name="android:background">?android:attr/activatedBackgroundIndicator</item>
</style> </style>
<style name="ListItemDate" parent="@style/TextSmall"> <style name="ListItemDate" parent="@style/TextSmall">
<item name="android:gravity">right</item> <item name="android:gravity">right</item>
<item name="android:layout_gravity">bottom</item> <item name="android:layout_gravity">bottom</item>
@@ -155,6 +160,7 @@ limitations under the License.
<item name="android:paddingBottom">6dp</item> <item name="android:paddingBottom">6dp</item>
<item name="android:paddingTop">6dp</item> <item name="android:paddingTop">6dp</item>
</style> </style>
<style name="StatsLargeLabel" parent="@style/TextSmall"> <style name="StatsLargeLabel" parent="@style/TextSmall">
<!-- same as StatsLargeLabel in values/styles.xml except adding textAllCaps --> <!-- same as StatsLargeLabel in values/styles.xml except adding textAllCaps -->
<item name="android:gravity">center</item> <item name="android:gravity">center</item>
@@ -164,6 +170,7 @@ limitations under the License.
<item name="android:textColor">@color/stats_large_label</item> <item name="android:textColor">@color/stats_large_label</item>
<item name="android:textStyle">bold</item> <item name="android:textStyle">bold</item>
</style> </style>
<style name="StatsLargeValue"> <style name="StatsLargeValue">
<item name="android:layout_gravity">bottom</item> <item name="android:layout_gravity">bottom</item>
<item name="android:layout_height">wrap_content</item> <item name="android:layout_height">wrap_content</item>
@@ -193,6 +200,7 @@ limitations under the License.
<style name="StatsSmallItemContainer" parent="@style/StatsLargeItemContainer"> <style name="StatsSmallItemContainer" parent="@style/StatsLargeItemContainer">
<item name="android:paddingTop">12dp</item> <item name="android:paddingTop">12dp</item>
</style> </style>
<style name="StatsSmallLabel" parent="@style/TextSmall"> <style name="StatsSmallLabel" parent="@style/TextSmall">
<!-- same as StatsSmallLabel in values/styles.xml except adding textAllCaps --> <!-- same as StatsSmallLabel in values/styles.xml except adding textAllCaps -->
<item name="android:gravity">center</item> <item name="android:gravity">center</item>
@@ -223,20 +231,24 @@ limitations under the License.
<item name="android:paddingLeft">4dp</item> <item name="android:paddingLeft">4dp</item>
<item name="android:singleLine">true</item> <item name="android:singleLine">true</item>
</style> </style>
<style name="Text"> <style name="Text">
<item name="android:layout_height">wrap_content</item> <item name="android:layout_height">wrap_content</item>
<item name="android:layout_width">wrap_content</item> <item name="android:layout_width">wrap_content</item>
<item name="android:textColor">@android:color/white</item> <item name="android:textColor">@android:color/white</item>
</style> </style>
<style name="TextChooseActivity"> <style name="TextChooseActivity">
<!-- Same as TextChooseActivity in values/styles.xml except removing textSize and using textAppearance --> <!-- Same as TextChooseActivity in values/styles.xml except removing textSize and using textAppearance -->
<item name="android:textAppearance">?android:attr/textAppearanceListItemSmall</item> <item name="android:textAppearance">?android:attr/textAppearanceListItemSmall</item>
</style> </style>
<style name="TextLarge" parent="@android:style/TextAppearance.Holo.Large"> <style name="TextLarge" parent="@android:style/TextAppearance.Holo.Large">
<!-- same as TextLarge in values/styles.xml except inheriting from a parent instead of specifying textSize --> <!-- same as TextLarge in values/styles.xml except inheriting from a parent instead of specifying textSize -->
<item name="android:layout_height">wrap_content</item> <item name="android:layout_height">wrap_content</item>
<item name="android:layout_width">wrap_content</item> <item name="android:layout_width">wrap_content</item>
</style> </style>
<style name="TextMedium" parent="@android:style/TextAppearance.Holo.Medium"> <style name="TextMedium" parent="@android:style/TextAppearance.Holo.Medium">
<!-- same as TextMedium in values/styles.xml except inheriting from a parent instead of specifying textSize --> <!-- same as TextMedium in values/styles.xml except inheriting from a parent instead of specifying textSize -->
<item name="android:layout_height">wrap_content</item> <item name="android:layout_height">wrap_content</item>
@@ -251,6 +263,7 @@ limitations under the License.
<style name="TextMicro" parent="@style/Text"> <style name="TextMicro" parent="@style/Text">
<item name="android:textSize">12sp</item> <item name="android:textSize">12sp</item>
</style> </style>
<style name="TextSmall" parent="@android:style/TextAppearance.Holo.Small"> <style name="TextSmall" parent="@android:style/TextAppearance.Holo.Small">
<!-- same as TextSmall in values/styles.xml except inheriting from a parent instead of specifying textSize --> <!-- same as TextSmall in values/styles.xml except inheriting from a parent instead of specifying textSize -->
<item name="android:layout_height">wrap_content</item> <item name="android:layout_height">wrap_content</item>
@@ -335,6 +348,7 @@ limitations under the License.
<item name="android:paddingBottom">12dp</item> <item name="android:paddingBottom">12dp</item>
<item name="android:paddingTop">12dp</item> <item name="android:paddingTop">12dp</item>
</style> </style>
<style name="TrackWidgetLabel"> <style name="TrackWidgetLabel">
<!-- same as TrackWidgetLabel in values/styles.xml except adding textAllCaps --> <!-- same as TrackWidgetLabel in values/styles.xml except adding textAllCaps -->
<item name="android:layout_gravity">center_horizontal</item> <item name="android:layout_gravity">center_horizontal</item>
@@ -346,6 +360,7 @@ limitations under the License.
<item name="android:textStyle">bold</item> <item name="android:textStyle">bold</item>
<item name="android:textAllCaps">true</item> <item name="android:textAllCaps">true</item>
</style> </style>
<style name="TrackWidgetLabel4x4" parent="@style/TrackWidgetLabel"> <style name="TrackWidgetLabel4x4" parent="@style/TrackWidgetLabel">
<item name="android:textSize">14dp</item> <item name="android:textSize">14dp</item>
</style> </style>
+7 -3
View File
@@ -1,14 +1,18 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!-- Generated with http://android-holo-colors.com -->
<!-- Generated with http://android-holo-colors.com -->
<resources xmlns:android="http://schemas.android.com/apk/res/android"> <resources xmlns:android="http://schemas.android.com/apk/res/android">
<style name="AutoCompleteTextViewCustom" parent="android:Widget.Holo.AutoCompleteTextView"> <style name="AutoCompleteTextViewCustom" parent="android:Widget.Holo.AutoCompleteTextView">
<item name="android:dropDownSelector">@drawable/list_selector_holo_dark</item> <item name="android:dropDownSelector">@drawable/list_selector_holo_dark</item>
<item name="android:background">@drawable/edit_text_holo_dark</item> <item name="android:background">@drawable/edit_text_holo_dark</item>
</style> </style>
<style name="ProgressBarCustom" parent="android:Widget.Holo.ProgressBar.Horizontal"> <style name="ProgressBarCustom" parent="android:Widget.Holo.ProgressBar.Horizontal">
<item name="android:progressDrawable">@drawable/progress_horizontal_holo_dark</item> <item name="android:progressDrawable">@drawable/progress_horizontal_holo_dark</item>
<item name="android:indeterminateDrawable">@drawable/progress_indeterminate_horizontal_holo_dark</item> <item name="android:indeterminateDrawable">
@drawable/progress_indeterminate_horizontal_holo_dark
</item>
</style> </style>
<style name="SpinnerCustom" parent="android:Widget.Holo.Spinner"> <style name="SpinnerCustom" parent="android:Widget.Holo.Spinner">
<item name="android:background">@drawable/spinner_background_holo_dark</item> <item name="android:background">@drawable/spinner_background_holo_dark</item>
<item name="android:dropDownSelector">@drawable/list_selector_holo_dark</item> <item name="android:dropDownSelector">@drawable/list_selector_holo_dark</item>
+7 -4
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2013 Google Inc. Copyright 2013 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,9 +14,11 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<resources xmlns:android="http://schemas.android.com/apk/res/android"> <resources xmlns:android="http://schemas.android.com/apk/res/android">
<style name="ThemeCustom" parent="android:Theme.Holo"> <style name="ThemeCustom" parent="android:Theme.Holo">
<!-- Auto generated --> <!-- Auto generated -->
<item name="android:activatedBackgroundIndicator">@drawable/activated_background_holo_dark</item> <item name="android:activatedBackgroundIndicator">@drawable/activated_background_holo_dark
</item>
<item name="android:autoCompleteTextViewStyle">@style/AutoCompleteTextViewCustom</item> <item name="android:autoCompleteTextViewStyle">@style/AutoCompleteTextViewCustom</item>
<item name="android:dropDownSpinnerStyle">@style/SpinnerCustom</item> <item name="android:dropDownSpinnerStyle">@style/SpinnerCustom</item>
<item name="android:editTextBackground">@drawable/edit_text_holo_dark</item> <item name="android:editTextBackground">@drawable/edit_text_holo_dark</item>
@@ -30,9 +31,11 @@ limitations under the License.
<item name="android:actionModeBackground">@drawable/custom_action_mode_background</item> <item name="android:actionModeBackground">@drawable/custom_action_mode_background</item>
<item name="android:alertDialogTheme">@style/CustomAlertDialogTheme</item> <item name="android:alertDialogTheme">@style/CustomAlertDialogTheme</item>
</style> </style>
<style name="CustomAlertDialogTheme" parent="@android:style/Theme.Holo.Dialog"> <style name="CustomAlertDialogTheme" parent="@android:style/Theme.Holo.Dialog">
<!-- From auto generated --> <!-- From auto generated -->
<item name="android:activatedBackgroundIndicator">@drawable/activated_background_holo_dark</item> <item name="android:activatedBackgroundIndicator">@drawable/activated_background_holo_dark
</item>
<item name="android:autoCompleteTextViewStyle">@style/AutoCompleteTextViewCustom</item> <item name="android:autoCompleteTextViewStyle">@style/AutoCompleteTextViewCustom</item>
<item name="android:dropDownSpinnerStyle">@style/SpinnerCustom</item> <item name="android:dropDownSpinnerStyle">@style/SpinnerCustom</item>
<item name="android:editTextBackground">@drawable/edit_text_holo_dark</item> <item name="android:editTextBackground">@drawable/edit_text_holo_dark</item>
+1 -2
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2010 Google Inc. Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
+1 -2
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2010 Google Inc. Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
+1 -2
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2012 Google Inc. Copyright 2012 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
+1 -2
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2012 Google Inc. Copyright 2012 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
+1 -2
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2012 Google Inc. Copyright 2012 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
+1 -2
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2012 Google Inc. Copyright 2012 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
+1 -2
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2012 Google Inc. Copyright 2012 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
+4 -5
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
Copyright 2011 Google Inc. Copyright 2011 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,10 +17,10 @@ limitations under the License.
android:configure="com.google.android.apps.mytracks.widgets.TrackWidgetConfigActivity" android:configure="com.google.android.apps.mytracks.widgets.TrackWidgetConfigActivity"
android:initialKeyguardLayout="@layout/track_widget_4x1" android:initialKeyguardLayout="@layout/track_widget_4x1"
android:initialLayout="@layout/track_widget_4x2" android:initialLayout="@layout/track_widget_4x2"
android:minHeight="110dp"
android:minResizeHeight="40dp"
android:minResizeWidth="250dp"
android:minWidth="250dp" android:minWidth="250dp"
android:minHeight="110dp"
android:minResizeWidth="250dp"
android:minResizeHeight="40dp"
android:resizeMode="vertical" android:resizeMode="vertical"
android:updatePeriodMillis="0" android:updatePeriodMillis="0"
android:widgetCategory="keyguard|home_screen" /> android:widgetCategory="keyguard|home_screen" />