[Android] Preferences : Interface reorganization

Alexandre Perraud git at videolan.org
Thu Sep 22 15:17:59 CEST 2016


vlc-android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Tue Sep 20 15:39:53 2016 +0200| [cb1b88a1118a3703811a5597f2b5552d927dae86] | committer: Alexandre Perraud

Preferences : Interface reorganization

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

 vlc-android/res/values/strings.xml     |  2 +-
 vlc-android/res/xml/preferences_ui.xml | 14 ++++++--------
 2 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/vlc-android/res/values/strings.xml b/vlc-android/res/values/strings.xml
index 31c9bae..e95817b 100644
--- a/vlc-android/res/values/strings.xml
+++ b/vlc-android/res/values/strings.xml
@@ -270,7 +270,7 @@
     <string name="interface_prefs_screen">Interface</string>
     <string name="interface_gui">Display</string>
     <string name="interface_secondary_display_category_title">Secondary display</string>
-    <string name="interface_secondary_display_category_summary">Settings when secondary displays are connected (HDMI/Miracast).</string>
+    <string name="interface_secondary_display_category_summary">Settings when secondary displays are connected (HDMI/Chromecast).</string>
     <string name="enable_clone_mode">Prefer clone</string>
     <string name="enable_clone_mode_summary">Clone the device screen without remote control.</string>
     <string name="interface_other_category">Interface - Other</string>
diff --git a/vlc-android/res/xml/preferences_ui.xml b/vlc-android/res/xml/preferences_ui.xml
index 90dc6b8..c7a8904 100644
--- a/vlc-android/res/xml/preferences_ui.xml
+++ b/vlc-android/res/xml/preferences_ui.xml
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="utf-8"?>
 
 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
-    android:title="@string/interface_prefs_screen"
-    android:key="ui_category" >
+    android:key="ui_category"
+    android:title="@string/interface_prefs_screen">
 
     <android.support.v7.preference.SwitchPreferenceCompat
         android:defaultValue="false"
@@ -10,12 +10,10 @@
         android:summary="@string/enable_black_theme_summary"
         android:title="@string/enable_black_theme" />
 
-    <PreferenceCategory android:title="@string/interface_gui">
-        <CheckBoxPreference
-            android:key="tv_ui"
-            android:summary="@string/tv_ui_summary"
-            android:title="@string/tv_ui_title" />
-    </PreferenceCategory>
+    <CheckBoxPreference
+        android:key="tv_ui"
+        android:summary="@string/tv_ui_summary"
+        android:title="@string/tv_ui_title" />
 
     <PreferenceCategory android:title="@string/interface_secondary_display_category_title">
         <Preference android:summary="@string/interface_secondary_display_category_summary" />



More information about the Android mailing list