[Android] add labels for chroma formats

Sébastien Toque git at videolan.org
Wed Feb 13 20:36:32 CET 2013


vlc-ports/android | branch: master | Sébastien Toque <xilasz at gmail.com> | Wed Feb 13 10:57:13 2013 +0100| [4e3816daf490e895304f065210812461fa2b479e] | committer: Sébastien Toque

add labels for chroma formats

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

 vlc-android/res/values/strings.xml  |    8 +++++++-
 vlc-android/res/xml/preferences.xml |    2 +-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/vlc-android/res/values/strings.xml b/vlc-android/res/values/strings.xml
index 400a1b7..b965b15 100644
--- a/vlc-android/res/values/strings.xml
+++ b/vlc-android/res/values/strings.xml
@@ -320,10 +320,16 @@
         <item>2</item>
     </string-array>
 
-    <string-array name="chroma_formats" translatable="false">
+    <string-array name="chroma_formats_values" translatable="false">
         <item>RV32</item>
         <item>RV16</item>
         <item>YV12</item>
     </string-array>
 
+    <string-array name="chroma_formats" translatable="false">
+        <item>RGB 32bits</item>
+        <item>RGB 16bits</item>
+        <item>YUV 24bits</item>
+    </string-array>
+
 </resources>
diff --git a/vlc-android/res/xml/preferences.xml b/vlc-android/res/xml/preferences.xml
index c670852..f319e80 100644
--- a/vlc-android/res/xml/preferences.xml
+++ b/vlc-android/res/xml/preferences.xml
@@ -91,7 +91,7 @@
                 android:title="@string/chroma_format"
                 android:summary="@string/chroma_format_detail"
                 android:entries="@array/chroma_formats"
-                android:entryValues="@array/chroma_formats" />
+                android:entryValues="@array/chroma_formats_values" />
         </PreferenceScreen>
     </PreferenceCategory>
 



More information about the Android mailing list