Preferences: use ListPreference instead of MyTracksListPreference.

This commit is contained in:
Dennis Guse
2019-07-20 22:23:15 +02:00
parent 02bb5bb48e
commit 111baff976
7 changed files with 11 additions and 56 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/track_detail_chart_tab" >
<com.google.android.apps.mytracks.settings.MyTracksListPreference
<ListPreference
android:defaultValue="@string/chart_x_axis_distance"
android:key="@string/chart_x_axis_key"
android:title="@string/settings_chart_x_axis" />
+2 -2
View File
@@ -24,12 +24,12 @@ limitations under the License.
android:defaultValue="0"
android:key="@string/split_frequency_key"
android:title="@string/menu_split_frequency" />
<com.google.android.apps.mytracks.settings.MyTracksListPreference
<ListPreference
android:defaultValue="@string/settings_recording_track_name_date_iso_8601_location_value"
android:key="@string/track_name_key"
android:title="@string/settings_recording_track_name_title" />
<com.google.android.apps.mytracks.settings.ActivityTypePreference
android:defaultValue=""
android:defaultValue="@string/activity_type_running"
android:key="@string/default_activity_key"
android:title="@string/settings_recording_default_activity_title" />
<com.google.android.apps.mytracks.settings.IntegerListPreference
+2 -2
View File
@@ -25,8 +25,8 @@ limitations under the License.
android:persistent="false"
android:summary="@string/settings_sensor_bluetooth_pairing_summary"
android:title="@string/settings_sensor_bluetooth_pairing" />
<com.google.android.apps.mytracks.settings.MyTracksListPreference
android:defaultValue=""
<ListPreference
android:defaultValue="@string/sensor_type_value_none"
android:key="@string/bluetooth_sensor_key"
android:title="@string/settings_sensor_bluetooth_sensor" />
</PreferenceCategory>
+2 -2
View File
@@ -16,11 +16,11 @@ limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/track_detail_stats_tab" >
<com.google.android.apps.mytracks.settings.MyTracksListPreference
<ListPreference
android:defaultValue="@string/stats_units_metric"
android:key="@string/stats_units_key"
android:title="@string/settings_stats_units_title" />
<com.google.android.apps.mytracks.settings.MyTracksListPreference
<ListPreference
android:defaultValue="@string/stats_rate_speed"
android:key="@string/stats_rate_key"
android:title="@string/settings_stats_rate_title" />