Skip to content

Commit

Permalink
Settings: Allow using QS media player time as next & previous [2/2]
Browse files Browse the repository at this point in the history
  • Loading branch information
idoybh authored and NurKeinNeid committed Jun 23, 2024
1 parent 17ec97c commit 0ef210d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions res/values-de/derp_strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -871,6 +871,8 @@
<!-- Media player settings -->
<string name="media_controls_always_show_time_title">Zeit immer anzeigen</string>
<string name="media_controls_always_show_time_summary">Immer die vergangene Zeit und die Gesamtzeit auf dem Mediaplayer anzeigen</string>
<string name="media_controls_time_as_next_title">Zeit anstelle Weiter / Zurück</string>
<string name="media_controls_time_as_next_summary">Die Schaltflächen Weiter / Zurück ausblenden und stattdessen die immer angezeigte Zeit verwenden</string>
<string name="media_controls_squiggle_title">Schnörkelanimation anzeigen</string>
<string name="media_controls_squiggle_summary">Schnörkelanimation im Mediaplayer anzeigen</string>
<string name="media_controls_actions_title">Limit für benutzerdefinierte Aktionen</string>
Expand Down
2 changes: 2 additions & 0 deletions res/values/derp_strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -915,6 +915,8 @@
<!-- Media player settings -->
<string name="media_controls_always_show_time_title">Always show time</string>
<string name="media_controls_always_show_time_summary">Always show passed and total time on media player</string>
<string name="media_controls_time_as_next_title">Time as next / previous</string>
<string name="media_controls_time_as_next_summary">Hide the next / previous buttons and use the always shown time for that instead</string>
<string name="media_controls_squiggle_title">Show squiggle animation</string>
<string name="media_controls_squiggle_summary">Show squiggle animation in media player</string>
<string name="media_controls_actions_title">Custom actions limit</string>
Expand Down
7 changes: 7 additions & 0 deletions res/xml/media_controls_settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@
android:summary="@string/media_controls_always_show_time_summary"
android:defaultValue="false" />

<org.derpfest.support.preferences.SecureSettingSwitchPreference
android:key="media_controls_time_as_next"
android:title="@string/media_controls_time_as_next_title"
android:summary="@string/media_controls_time_as_next_summary"
android:dependency="media_controls_always_show_time"
android:defaultValue="false" />

<org.derpfest.support.preferences.SecureSettingSeekBarPreference
android:key="media_controls_actions"
android:title="@string/media_controls_actions_title"
Expand Down

0 comments on commit 0ef210d

Please sign in to comment.