[Android] Move up background playback option in preferences

Geoffrey Métais git at videolan.org
Mon Jun 15 20:16:59 CEST 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Jun 15 19:47:56 2015 +0200| [4d35e53956944175fa2676132ca6a02cdf94344f] | committer: Geoffrey Métais

Move up background playback option in preferences

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=4d35e53956944175fa2676132ca6a02cdf94344f
---

 vlc-android/res/xml/preferences.xml |   26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)

diff --git a/vlc-android/res/xml/preferences.xml b/vlc-android/res/xml/preferences.xml
index 67b363c..b92d6bf 100644
--- a/vlc-android/res/xml/preferences.xml
+++ b/vlc-android/res/xml/preferences.xml
@@ -14,12 +14,12 @@
             android:key="hardware_acceleration"
             android:summary="@string/hardware_acceleration_summary"
             android:title="@string/hardware_acceleration" />
-        <ListPreference
-            android:defaultValue="4"
-            android:entries="@array/screen_orientation_list"
-            android:entryValues="@array/screen_orientation_values"
-            android:key="screen_orientation"
-            android:title="@string/screen_orientation" />
+        <CheckBoxPreference
+            android:defaultValue="false"
+            android:key="video_background"
+            android:summary="@string/play_as_audio_background_summary"
+            android:widgetLayout="@layout/custom_chexbox"
+            android:title="@string/play_as_audio_background" />
 
         <CheckBoxPreference
             android:defaultValue="false"
@@ -35,6 +35,14 @@
             android:key="subtitle_text_encoding"
             android:persistent="true"
             android:title="@string/subtitle_text_encoding" />
+
+        <ListPreference
+            android:defaultValue="4"
+            android:entries="@array/screen_orientation_list"
+            android:entryValues="@array/screen_orientation_values"
+            android:key="screen_orientation"
+            android:title="@string/screen_orientation" />
+
     </PreferenceCategory>
     <PreferenceCategory android:title="@string/extra_prefs_category" >
         <PreferenceScreen
@@ -53,12 +61,6 @@
             <PreferenceCategory android:title="@string/interface_other_category" >
                 <CheckBoxPreference
                     android:defaultValue="false"
-                    android:key="video_background"
-                    android:summary="@string/play_as_audio_background_summary"
-                    android:widgetLayout="@layout/custom_chexbox"
-                    android:title="@string/play_as_audio_background" />
-                <CheckBoxPreference
-                    android:defaultValue="false"
                     android:key="dialog_confirm_resume"
                     android:summary="@string/confirm_resume_summary"
                     android:widgetLayout="@layout/custom_chexbox"



More information about the Android mailing list