[Android] Option to remember repeat mode

Geoffrey Métais git at videolan.org
Fri Jun 9 17:19:34 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Jun  9 17:12:30 2017 +0200| [30a2b6fa5860c163017af3fafb3e9d478be5a1f8] | committer: Geoffrey Métais

Option to remember repeat mode

> https://code.videolan.org/videolan/vlc-android/commit/30a2b6fa5860c163017af3fafb3e9d478be5a1f8
---

 vlc-android/res/values/strings.xml        | 2 ++
 vlc-android/res/xml/preferences_audio.xml | 5 +++++
 2 files changed, 7 insertions(+)

diff --git a/vlc-android/res/values/strings.xml b/vlc-android/res/values/strings.xml
index 4e4740a0d..fbef32c76 100644
--- a/vlc-android/res/values/strings.xml
+++ b/vlc-android/res/values/strings.xml
@@ -332,6 +332,8 @@
     <string name="audio_title_alignment_centre">Centre</string>
     <string name="audio_title_alignment_right">Right</string>
     <string name="audio_title_alignment_marquee">Marquee</string>
+    <string name="audio_save_repeat_title">Save repeat mode</string>
+    <string name="audio_save_repeat_summary">Remember repeat mode when loading audio playlists</string>
     <string name="headset_prefs_category">Headset</string>
     <string name="enable_headset_detection">Detect headset</string>
     <string name="enable_headset_detection_summary">Detect headset insertion and removal</string>
diff --git a/vlc-android/res/xml/preferences_audio.xml b/vlc-android/res/xml/preferences_audio.xml
index 1708089a9..213adca42 100644
--- a/vlc-android/res/xml/preferences_audio.xml
+++ b/vlc-android/res/xml/preferences_audio.xml
@@ -10,6 +10,11 @@
         android:summary="@string/lockscreen_cover_summary"
         android:title="@string/lockscreen_cover_title" />
     <CheckBoxPreference
+        android:defaultValue="false"
+        android:key="audio_save_repeat"
+        android:summary="@string/audio_save_repeat_summary"
+        android:title="@string/audio_save_repeat_title" />
+    <CheckBoxPreference
         android:defaultValue="true"
         android:key="animate_playlist_scroll"
         android:summary="@string/playlist_animate_scroll_summary"



More information about the Android mailing list