[Android] UI : Rename 9-patch shadow and add a bottom one

Alexandre Perraud git at videolan.org
Thu Apr 2 19:01:06 CEST 2015


vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Thu Apr  2 18:44:08 2015 +0200| [9c554cf829bbf7d364cb72d1d531a1208fe4cea9] | committer: Alexandre Perraud

UI : Rename 9-patch shadow and add a bottom one

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

 vlc-android/res/drawable-hdpi/shadow_bottom.9.png                 |  Bin 0 -> 286 bytes
 .../res/drawable-hdpi/{bottom_shadow.9.png => shadow_top.9.png}   |  Bin 155 -> 155 bytes
 vlc-android/res/layout/shadow_bottom.xml                          |    5 +++++
 vlc-android/res/layout/shadow_top.xml                             |    3 +--
 4 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/vlc-android/res/drawable-hdpi/shadow_bottom.9.png b/vlc-android/res/drawable-hdpi/shadow_bottom.9.png
new file mode 100644
index 0000000..2a4a784
Binary files /dev/null and b/vlc-android/res/drawable-hdpi/shadow_bottom.9.png differ
diff --git a/vlc-android/res/drawable-hdpi/bottom_shadow.9.png b/vlc-android/res/drawable-hdpi/shadow_top.9.png
similarity index 100%
rename from vlc-android/res/drawable-hdpi/bottom_shadow.9.png
rename to vlc-android/res/drawable-hdpi/shadow_top.9.png
diff --git a/vlc-android/res/layout/shadow_bottom.xml b/vlc-android/res/layout/shadow_bottom.xml
new file mode 100644
index 0000000..34942a6
--- /dev/null
+++ b/vlc-android/res/layout/shadow_bottom.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<View xmlns:android="http://schemas.android.com/apk/res/android"
+    android:layout_width="match_parent"
+    android:layout_height="6dp"
+    android:background="@drawable/shadow_bottom"/>
\ No newline at end of file
diff --git a/vlc-android/res/layout/shadow_top.xml b/vlc-android/res/layout/shadow_top.xml
index 0cfc32a..2b9f7f9 100644
--- a/vlc-android/res/layout/shadow_top.xml
+++ b/vlc-android/res/layout/shadow_top.xml
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
 <View xmlns:android="http://schemas.android.com/apk/res/android"
-    android:id="@+id/shadow"
     android:layout_width="match_parent"
     android:layout_height="6dp"
-    android:background="@drawable/bottom_shadow"/>
\ No newline at end of file
+    android:background="@drawable/shadow_top"/>
\ No newline at end of file



More information about the Android mailing list