[Android] Ripple effect for audio listviews items

Geoffrey Métais git at videolan.org
Mon Apr 27 10:57:47 CEST 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Apr 24 16:20:05 2015 +0200| [88dff2fc6ac5c00d177ffd9d523aa1e0d4441a8c] | committer: Geoffrey Métais

Ripple effect for audio listviews items

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

 vlc-android/res/drawable-v21/background_item.xml |    5 +++++
 vlc-android/res/drawable/background_item.xml     |    4 +++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/vlc-android/res/drawable-v21/background_item.xml b/vlc-android/res/drawable-v21/background_item.xml
new file mode 100644
index 0000000..176eb68
--- /dev/null
+++ b/vlc-android/res/drawable-v21/background_item.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ripple xmlns:android="http://schemas.android.com/apk/res/android"
+    android:color="@color/orange500">
+    <item android:drawable="@color/orange300" />
+</ripple>
\ No newline at end of file
diff --git a/vlc-android/res/drawable/background_item.xml b/vlc-android/res/drawable/background_item.xml
index 0d2ebc8..6854e74 100644
--- a/vlc-android/res/drawable/background_item.xml
+++ b/vlc-android/res/drawable/background_item.xml
@@ -14,4 +14,6 @@
         <shape android:shape="rectangle">
             <solid android:color="@color/orange400" />
         </shape>
-    </item></selector>
+    </item>
+</selector>
+



More information about the Android mailing list