Added option to show statistics while recording without unlocking the device.

This commit is contained in:
Dennis Guse
2019-09-02 18:36:31 +02:00
parent 0a046fc100
commit c8ae3b83b5
5 changed files with 48 additions and 8 deletions
+2
View File
@@ -28,10 +28,12 @@ limitations under the License.
<string name="recording_distance_interval_key" translatable="false">recordingDistanceInterval</string>
<string name="recording_gps_accuracy_key" translatable="false">recordingGpsAccuracy</string>
<string name="split_frequency_key" translatable="false">splitFrequency</string>
<string name="stats_rate_key" translatable="false">statsRate</string>
<string name="stats_show_coordinate_key" translatable="false">statsShowCoordinate</string>
<string name="stats_show_grade_elevation_key" translatable="false">statsShowGradeElevation</string>
<string name="stats_units_key" translatable="false">statsUnits</string>
<string name="trackdetail_show_on_lockscreen_while_recording" translatable="false">trackdetail_show_on_lockscreen_while_recording</string>
<string name="track_name_key" translatable="false">trackName</string>
<string name="track_widget_item1" translatable="false">trackWidgetItem1</string>
<string name="track_widget_item2" translatable="false">trackWidgetItem2</string>
+9 -3
View File
@@ -1085,10 +1085,16 @@ limitations under the License.
X axis
</string>
<!-- Settings Map -->
<!-- Settings Recording -->
<string name="settings_recording" translation_description="In the 'Settings' page, the option to change the recording settings.
<string name="settings_recording_show_on_lockscreen_while_recording_title" translation_description="In the 'Settings' page, the option to change the 'show on lockscreen' behavior while recording.">
Show statistics on lockscreen
</string>
<string name="settings_recording_show_on_lockscreen_while_recording_summary" translation_description="In the 'Settings' page, the option to change the 'show on lockscreen' behavior while recording.">
While recording, show statistics without unlocking the device.
</string>
<string name="settings_recording" translation_description="In the 'Settings' page, the option to change the recording settings.
Character limit: ~26 (1 line)">
Recording
+10 -5
View File
@@ -35,11 +35,6 @@ limitations under the License.
android:key="@string/track_name_key"
android:summary="%s"
android:title="@string/settings_recording_track_name_title" />
<de.dennisguse.opentracks.settings.ActivityTypePreference
android:defaultValue="@string/activity_type_running"
android:key="@string/default_activity_key"
android:summary="%s"
android:title="@string/settings_recording_default_activity_title" />
<ListPreference
android:defaultValue="0"
android:entryValues="@array/min_recording_interval_values"
@@ -70,4 +65,14 @@ limitations under the License.
android:key="@string/auto_resume_track_timeout_key"
android:summary="%s"
android:title="@string/settings_recording_auto_resume_track_timeout_title" />
<CheckBoxPreference
android:defaultValue="false"
android:key="@string/trackdetail_show_on_lockscreen_while_recording"
android:summary="@string/settings_recording_show_on_lockscreen_while_recording_summary"
android:title="@string/settings_recording_show_on_lockscreen_while_recording_title" />
<de.dennisguse.opentracks.settings.ActivityTypePreference
android:defaultValue="@string/activity_type_running"
android:key="@string/default_activity_key"
android:summary="%s"
android:title="@string/settings_recording_default_activity_title" />
</PreferenceScreen>