[Android] UI: Cosmetic fixes when some elements are focused

Alexandre Perraud git at videolan.org
Thu Oct 2 10:21:18 CEST 2014


vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Wed Oct  1 17:38:55 2014 +0200| [fdacc6e2e15b08672aa29a2e26bee2b2d365ec24] | committer: Jean-Baptiste Kempf

UI: Cosmetic fixes when some elements are focused

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

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

 vlc-android/res/drawable/background_item.xml |    6 +++++-
 vlc-android/res/values/styles.xml            |    1 +
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/vlc-android/res/drawable/background_item.xml b/vlc-android/res/drawable/background_item.xml
index 866bb1f..8ad2fad 100644
--- a/vlc-android/res/drawable/background_item.xml
+++ b/vlc-android/res/drawable/background_item.xml
@@ -10,4 +10,8 @@
             <solid android:color="@color/darkorange" />
         </shape>
     </item>
-</selector>
+    <item android:state_focused="true">
+        <shape android:shape="rectangle">
+            <solid android:color="@color/orange" />
+        </shape>
+    </item></selector>
diff --git a/vlc-android/res/values/styles.xml b/vlc-android/res/values/styles.xml
index c4b3ff6..6d69293 100644
--- a/vlc-android/res/values/styles.xml
+++ b/vlc-android/res/values/styles.xml
@@ -165,6 +165,7 @@
 
     <style name="ActionBar.OverflowButton">
         <item name="android:src">@drawable/ic_menu_overflow</item>
+        <item name="android:background">@drawable/abc_item_background_holo_light</item>
     </style>
 
     <!-- Advanced options menu styles -->



More information about the Android mailing list