aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/src/main/res/values/arrays.xml22
-rw-r--r--app/src/main/res/values/strings.xml1
-rw-r--r--app/src/main/res/xml/video_preferences.xml8
3 files changed, 31 insertions, 0 deletions
diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml
index e59c5abd..ffe31f93 100644
--- a/app/src/main/res/values/arrays.xml
+++ b/app/src/main/res/values/arrays.xml
@@ -520,4 +520,26 @@
<item>2</item>
</string-array>
+ <string-array name="default_playback_speed">
+ <item>0.25x</item>
+ <item>0.5x</item>
+ <item>0.75x</item>
+ <item>@string/normal</item>
+ <item>1.25x</item>
+ <item>1.5x</item>
+ <item>1.75x</item>
+ <item>2x</item>
+ </string-array>
+
+ <string-array name="default_playback_speed_values">
+ <item>25</item>
+ <item>50</item>
+ <item>75</item>
+ <item>100</item>
+ <item>125</item>
+ <item>150</item>
+ <item>175</item>
+ <item>200</item>
+ </string-array>
+
</resources>
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index fd09419b..f791a313 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -609,6 +609,7 @@
<string name="settings_app_lock_summary">Require authentication before using the app</string>
<string name="settings_app_lock_timeout_title">App Lock Timeout</string>
<string name="settings_enable_fold_support_title">Enable folding phone support</string>
+ <string name="settings_default_playback_speed_title">Default Playback Speed</string>
<string name="no_link_available">Cannot get the link</string>
diff --git a/app/src/main/res/xml/video_preferences.xml b/app/src/main/res/xml/video_preferences.xml
index ef8d944e..d3653e3c 100644
--- a/app/src/main/res/xml/video_preferences.xml
+++ b/app/src/main/res/xml/video_preferences.xml
@@ -36,6 +36,14 @@
app:title="@string/settings_loop_video_title"
app:summary="@string/settings_loop_video_summary" />
+ <ListPreference
+ app:defaultValue="100"
+ android:entries="@array/default_playback_speed"
+ app:entryValues="@array/default_playback_speed_values"
+ app:key="default_playback_speed"
+ app:title="@string/settings_default_playback_speed_title"
+ app:useSimpleSummaryProvider="true" />
+
<PreferenceCategory
app:title="@string/settings_video_autoplay_title" />