mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-02 17:43:06 +02:00
Settings: use category for recording UI settings.
This commit is contained in:
@@ -373,6 +373,7 @@ limitations under the License.
|
||||
<string name="settings_chart_by_distance">By distance</string>
|
||||
<string name="settings_chart_by_time">By time</string>
|
||||
<!-- Settings Recording -->
|
||||
<string name="settings_recording_title">Recording</string>
|
||||
<string name="settings_recording_customize_layout_title">Customize your recording layout</string>
|
||||
<string name="settings_recording_customize_layout_select_columns">Data fields per row</string>
|
||||
<string name="settings_recording_show_on_lockscreen_while_recording_title">Show statistics on lockscreen</string>
|
||||
@@ -407,6 +408,8 @@ limitations under the License.
|
||||
<string name="settings_announcements_lap_speed_pace">Lap speed/pace</string>
|
||||
|
||||
<!-- Custom Layout -->
|
||||
|
||||
|
||||
<string name="custom_layout_list_title">Layouts</string>
|
||||
<string name="custom_layout_list_edit_name">Type layout\'s name to add</string>
|
||||
<string name="custom_layout_list_edit_already_exists">Layout\'s name already exists</string>
|
||||
|
||||
@@ -12,41 +12,44 @@
|
||||
android:title="@string/settings_night_mode_title"
|
||||
app:useSimpleSummaryProvider="true" />
|
||||
|
||||
<Preference
|
||||
app:key="@string/stats_custom_layout_key"
|
||||
app:title="@string/settings_recording_customize_layout_title" />
|
||||
|
||||
<de.dennisguse.opentracks.settings.ResetDialogPreference
|
||||
android:dialogMessage="@string/settings_layout_reset_confirm_message"
|
||||
android:dialogTitle="@string/settings_layout_reset_confirm_title"
|
||||
android:key="@string/settings_layout_reset_key"
|
||||
android:negativeButtonText="@android:string/cancel"
|
||||
android:persistent="false"
|
||||
android:positiveButtonText="@android:string/ok"
|
||||
android:title="@string/settings_layout_reset" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
android:defaultValue="@bool/stats_show_on_lockscreen_while_recording_default"
|
||||
android:key="@string/stats_show_on_lockscreen_while_recording_key"
|
||||
android:summary="@string/settings_recording_show_on_lockscreen_while_recording_summary"
|
||||
android:title="@string/settings_recording_show_on_lockscreen_while_recording_title" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
android:defaultValue="@bool/stats_keep_screen_on_while_recording_default"
|
||||
android:key="@string/stats_keep_screen_on_while_recording_key"
|
||||
android:summary="@string/settings_recording_keep_screen_on_while_recording_summary"
|
||||
android:title="@string/settings_recording_keep_screen_on_while_recording_title" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
android:defaultValue="@bool/stats_fullscreen_while_recording_default"
|
||||
android:key="@string/stats_fullscreen_while_recording_key"
|
||||
android:summary="@string/settings_recording_fullscreen_on_while_recording_summary"
|
||||
android:title="@string/settings_recording_fullscreen_on_while_recording_title" />
|
||||
|
||||
<ListPreference
|
||||
android:defaultValue="@string/show_on_map_format_ask"
|
||||
android:key="@string/show_on_map_format_key"
|
||||
android:title="@string/select_show_on_map_behavior"
|
||||
app:useSimpleSummaryProvider="true" />
|
||||
|
||||
<PreferenceCategory app:title="@string/settings_recording_title">
|
||||
|
||||
<Preference
|
||||
app:key="@string/stats_custom_layout_key"
|
||||
app:title="@string/settings_recording_customize_layout_title" />
|
||||
|
||||
<de.dennisguse.opentracks.settings.ResetDialogPreference
|
||||
android:dialogMessage="@string/settings_layout_reset_confirm_message"
|
||||
android:dialogTitle="@string/settings_layout_reset_confirm_title"
|
||||
android:key="@string/settings_layout_reset_key"
|
||||
android:negativeButtonText="@android:string/cancel"
|
||||
android:persistent="false"
|
||||
android:positiveButtonText="@android:string/ok"
|
||||
android:title="@string/settings_layout_reset" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
android:defaultValue="@bool/stats_show_on_lockscreen_while_recording_default"
|
||||
android:key="@string/stats_show_on_lockscreen_while_recording_key"
|
||||
android:summary="@string/settings_recording_show_on_lockscreen_while_recording_summary"
|
||||
android:title="@string/settings_recording_show_on_lockscreen_while_recording_title" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
android:defaultValue="@bool/stats_keep_screen_on_while_recording_default"
|
||||
android:key="@string/stats_keep_screen_on_while_recording_key"
|
||||
android:summary="@string/settings_recording_keep_screen_on_while_recording_summary"
|
||||
android:title="@string/settings_recording_keep_screen_on_while_recording_title" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
android:defaultValue="@bool/stats_fullscreen_while_recording_default"
|
||||
android:key="@string/stats_fullscreen_while_recording_key"
|
||||
android:summary="@string/settings_recording_fullscreen_on_while_recording_summary"
|
||||
android:title="@string/settings_recording_fullscreen_on_while_recording_title" />
|
||||
</PreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
||||
Reference in New Issue
Block a user