[Android] Black theme : Move media icon color fixed

Alexandre Perraud git at videolan.org
Thu Apr 10 17:20:10 CEST 2014


vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Wed Apr  9 16:49:31 2014 +0200| [637934056db8cfdc962eb29f1711770af240daa5] | committer: Jean-Baptiste Kempf

Black theme : Move media icon color fixed

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 vlc-android/res/layout/audio_playlist_item.xml |    2 +-
 vlc-android/res/values/attrs.xml               |    3 ++-
 vlc-android/res/values/styles.xml              |    4 +++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/vlc-android/res/layout/audio_playlist_item.xml b/vlc-android/res/layout/audio_playlist_item.xml
index 8c4e8d6..10304ab 100644
--- a/vlc-android/res/layout/audio_playlist_item.xml
+++ b/vlc-android/res/layout/audio_playlist_item.xml
@@ -99,7 +99,7 @@
                     android:layout_marginRight="5dp"
                     android:background="#00000000"
                     android:scaleType="fitXY"
-                    android:src="@drawable/ic_move_media" />
+                    android:src="?attr/ic_move_media" />
             </LinearLayout>
         </LinearLayout>
 
diff --git a/vlc-android/res/values/attrs.xml b/vlc-android/res/values/attrs.xml
index b95b38c..3b6f386 100644
--- a/vlc-android/res/values/attrs.xml
+++ b/vlc-android/res/values/attrs.xml
@@ -44,7 +44,8 @@
     <attr name="ic_menu_audio" format="reference" />
     <attr name="ic_menu_folder" format="reference" />
     <attr name="ic_menu_history" format="reference" />
-
+    <attr name="ic_move_media" format="reference" />
+    
     <attr name="mini_player_top_shadow" format="reference" />
     <attr name="audio_playlist_shadow" format="reference" />
     <attr name="header_fadein_overlay" format="reference" />
diff --git a/vlc-android/res/values/styles.xml b/vlc-android/res/values/styles.xml
index 2e29f81..f6ab8c2 100644
--- a/vlc-android/res/values/styles.xml
+++ b/vlc-android/res/values/styles.xml
@@ -64,6 +64,7 @@
         <item name="ic_menu_audio">@drawable/ic_menu_audio</item>
         <item name="ic_menu_folder">@drawable/ic_menu_folder</item>
         <item name="ic_menu_history">@drawable/ic_menu_history</item>
+        <item name="ic_move_media">@drawable/ic_move_media</item>
 
         <item name="advanced_options_style">@style/Theme.VLC.AdvancedOptionsLight</item>
     </style>
@@ -124,7 +125,8 @@
         <item name="ic_menu_audio">@drawable/ic_menu_audio_w</item>
         <item name="ic_menu_folder">@drawable/ic_menu_folder_w</item>
         <item name="ic_menu_history">@drawable/ic_menu_history_w</item>
-
+        <item name="ic_move_media">@drawable/ic_move_media_w</item>
+        
         <item name="advanced_options_style">@style/Theme.VLC.AdvancedOptionsBlack</item>
     </style>
 



More information about the Android mailing list