forked from upstream-mirrors/OpenTracks
Update sensor settings to include current value in the summary.
This commit is contained in:
@@ -18,17 +18,14 @@ limitations under the License.
|
||||
android:title="@string/settings_recording" >
|
||||
<com.google.android.apps.mytracks.IntegerListPreference
|
||||
android:defaultValue="0"
|
||||
android:entryValues="@array/frequency_values"
|
||||
android:key="@string/voice_frequency_key"
|
||||
android:title="@string/menu_voice_frequency" />
|
||||
<com.google.android.apps.mytracks.IntegerListPreference
|
||||
android:defaultValue="0"
|
||||
android:entryValues="@array/frequency_values"
|
||||
android:key="@string/split_frequency_key"
|
||||
android:title="@string/menu_split_frequency" />
|
||||
<ListPreference
|
||||
android:defaultValue="@string/settings_recording_track_name_location_value"
|
||||
android:entryValues="@array/track_name_values"
|
||||
android:key="@string/track_name_key"
|
||||
android:title="@string/settings_recording_track_name_title" />
|
||||
<com.google.android.apps.mytracks.AutoCompleteTextPreference
|
||||
@@ -38,27 +35,22 @@ limitations under the License.
|
||||
android:title="@string/settings_recording_default_activity_title" />
|
||||
<com.google.android.apps.mytracks.IntegerListPreference
|
||||
android:defaultValue="0"
|
||||
android:entryValues="@array/min_recording_interval_values"
|
||||
android:key="@string/min_recording_interval_key"
|
||||
android:title="@string/settings_recording_min_recording_interval_title" />
|
||||
<com.google.android.apps.mytracks.IntegerListPreference
|
||||
android:defaultValue="5"
|
||||
android:entryValues="@array/min_recording_distance_values"
|
||||
android:key="@string/min_recording_distance_key"
|
||||
android:title="@string/settings_recording_min_recording_distance_title" />
|
||||
<com.google.android.apps.mytracks.IntegerListPreference
|
||||
android:defaultValue="200"
|
||||
android:entryValues="@array/max_recording_distance_values"
|
||||
android:key="@string/max_recording_distance_key"
|
||||
android:title="@string/settings_recording_max_recording_distance_title" />
|
||||
<com.google.android.apps.mytracks.IntegerListPreference
|
||||
android:defaultValue="200"
|
||||
android:entryValues="@array/min_required_accuracy_values"
|
||||
android:key="@string/min_required_accuracy_key"
|
||||
android:title="@string/settings_recording_min_required_accuracy_title" />
|
||||
<com.google.android.apps.mytracks.IntegerListPreference
|
||||
android:defaultValue="10"
|
||||
android:entryValues="@array/auto_resume_track_timeout_values"
|
||||
android:key="@string/auto_resume_track_timeout_key"
|
||||
android:title="@string/settings_recording_auto_resume_track_timeout_title" />
|
||||
</PreferenceScreen>
|
||||
@@ -20,7 +20,6 @@ limitations under the License.
|
||||
<ListPreference
|
||||
android:defaultValue="@string/sensor_type_value_none"
|
||||
android:key="@string/sensor_type_key"
|
||||
android:summary="@string/settings_sensor_type_summary"
|
||||
android:title="@string/settings_sensor_type" />
|
||||
<PreferenceCategory
|
||||
android:key="@string/settings_sensor_bluetooth_key"
|
||||
@@ -33,7 +32,6 @@ limitations under the License.
|
||||
<ListPreference
|
||||
android:defaultValue=""
|
||||
android:key="@string/bluetooth_sensor_key"
|
||||
android:summary="@string/settings_sensor_bluetooth_sensor_summary"
|
||||
android:title="@string/settings_sensor_bluetooth_sensor" />
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory
|
||||
|
||||
Reference in New Issue
Block a user