[Android] ActionBar: fix the displaying of the icons

Adrien Maglo git at videolan.org
Sun Jul 6 01:34:55 CEST 2014


vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Sun Jul  6 01:33:10 2014 +0200| [d147f9405000bd25b9d60bb0058f0d7a0da07a48] | committer: Adrien Maglo

ActionBar: fix the displaying of the icons

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

 vlc-android/res/menu-v10/media_library.xml |   12 +++++++-----
 vlc-android/res/menu-v13/media_library.xml |   12 +++++++-----
 vlc-android/res/menu-v8/media_library.xml  |   12 +++++++-----
 3 files changed, 21 insertions(+), 15 deletions(-)

diff --git a/vlc-android/res/menu-v10/media_library.xml b/vlc-android/res/menu-v10/media_library.xml
index c4afc16..856e35a 100644
--- a/vlc-android/res/menu-v10/media_library.xml
+++ b/vlc-android/res/menu-v10/media_library.xml
@@ -1,15 +1,17 @@
 <?xml version="1.0" encoding="utf-8"?>
-<menu xmlns:android="http://schemas.android.com/apk/res/android">
+<menu xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:vlc="http://schemas.android.com/apk/res-auto" >
+
     <item
         android:id="@+id/ml_menu_search"
         android:icon="@drawable/ic_menu_search_wb"
         android:title="@string/searchable_hint"
-        android:showAsAction="ifRoom" />
+        vlc:showAsAction="ifRoom" />
     <item
         android:id="@+id/ml_menu_open_mrl"
         android:icon="@drawable/ic_menu_goto_wb"
         android:title="@string/open_mrl"
-        android:showAsAction="ifRoom" />
+        vlc:showAsAction="ifRoom" />
     <item
         android:title="@string/sortby"
         android:icon="@drawable/ic_menu_sortby_wb"
@@ -27,12 +29,12 @@
         android:id="@+id/ml_menu_last_playlist"
         android:icon="@drawable/ic_menu_revert_wb"
         android:title="@string/last_playlist"
-        android:showAsAction="ifRoom" />
+        vlc:showAsAction="ifRoom" />
     <item
         android:id="@+id/ml_menu_refresh"
         android:icon="@drawable/ic_menu_refresh_wb"
         android:title="@string/refresh"
-        android:showAsAction="ifRoom" />
+        vlc:showAsAction="ifRoom" />
     <item
         android:id="@+id/ml_menu_equalizer"
         android:icon="@drawable/ic_menu_equalizer_wb"
diff --git a/vlc-android/res/menu-v13/media_library.xml b/vlc-android/res/menu-v13/media_library.xml
index f8541c2..2c434b0 100644
--- a/vlc-android/res/menu-v13/media_library.xml
+++ b/vlc-android/res/menu-v13/media_library.xml
@@ -1,15 +1,17 @@
 <?xml version="1.0" encoding="utf-8"?>
-<menu xmlns:android="http://schemas.android.com/apk/res/android">
+<menu xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:vlc="http://schemas.android.com/apk/res-auto" >
+
     <item
         android:id="@+id/ml_menu_search"
         android:icon="@drawable/ic_menu_search"
         android:title="@string/searchable_hint"
-        android:showAsAction="ifRoom" />
+        vlc:showAsAction="ifRoom" />
     <item
         android:id="@+id/ml_menu_open_mrl"
         android:icon="@drawable/ic_menu_goto"
         android:title="@string/open_mrl"
-        android:showAsAction="ifRoom" />
+        vlc:showAsAction="ifRoom" />
     <item
         android:title="@string/sortby"
         android:icon="@drawable/ic_menu_sortby"
@@ -27,12 +29,12 @@
         android:id="@+id/ml_menu_last_playlist"
         android:icon="@drawable/ic_menu_revert"
         android:title="@string/last_playlist"
-        android:showAsAction="ifRoom" />
+        vlc:showAsAction="ifRoom" />
     <item
         android:id="@+id/ml_menu_refresh"
         android:icon="@drawable/ic_menu_refresh"
         android:title="@string/refresh"
-        android:showAsAction="ifRoom" />
+        vlc:showAsAction="ifRoom" />
     <item
         android:id="@+id/ml_menu_equalizer"
         android:icon="@drawable/ic_menu_equalizer"
diff --git a/vlc-android/res/menu-v8/media_library.xml b/vlc-android/res/menu-v8/media_library.xml
index c4afc16..856e35a 100644
--- a/vlc-android/res/menu-v8/media_library.xml
+++ b/vlc-android/res/menu-v8/media_library.xml
@@ -1,15 +1,17 @@
 <?xml version="1.0" encoding="utf-8"?>
-<menu xmlns:android="http://schemas.android.com/apk/res/android">
+<menu xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:vlc="http://schemas.android.com/apk/res-auto" >
+
     <item
         android:id="@+id/ml_menu_search"
         android:icon="@drawable/ic_menu_search_wb"
         android:title="@string/searchable_hint"
-        android:showAsAction="ifRoom" />
+        vlc:showAsAction="ifRoom" />
     <item
         android:id="@+id/ml_menu_open_mrl"
         android:icon="@drawable/ic_menu_goto_wb"
         android:title="@string/open_mrl"
-        android:showAsAction="ifRoom" />
+        vlc:showAsAction="ifRoom" />
     <item
         android:title="@string/sortby"
         android:icon="@drawable/ic_menu_sortby_wb"
@@ -27,12 +29,12 @@
         android:id="@+id/ml_menu_last_playlist"
         android:icon="@drawable/ic_menu_revert_wb"
         android:title="@string/last_playlist"
-        android:showAsAction="ifRoom" />
+        vlc:showAsAction="ifRoom" />
     <item
         android:id="@+id/ml_menu_refresh"
         android:icon="@drawable/ic_menu_refresh_wb"
         android:title="@string/refresh"
-        android:showAsAction="ifRoom" />
+        vlc:showAsAction="ifRoom" />
     <item
         android:id="@+id/ml_menu_equalizer"
         android:icon="@drawable/ic_menu_equalizer_wb"



More information about the Android mailing list