[Android] [PATCH 4/5] UI: Cosmetic fixes when some elements are focused
Alexandre Perraud
4leyx4ndre at gmail.com
Wed Oct 1 17:38:55 CEST 2014
---
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 2ba5bb1..c74c7a5 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 -->
--
1.9.1
More information about the Android
mailing list