[Android] actionbar: replace shadow by a thin line

Sébastien Toque git at videolan.org
Tue Jan 14 21:45:11 CET 2014


vlc-ports/android | branch: master | Sébastien Toque <xilasz at gmail.com> | Tue Jan 14 21:27:38 2014 +0100| [b3fd29f57db414930f12f06e9c86ec34c32c8c4a] | committer: Sébastien Toque

actionbar: replace shadow by a thin line

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

 vlc-android/res/drawable-hdpi/actionbar_shadow.png |  Bin 178 -> 0 bytes
 vlc-android/res/drawable/actionbar_shadow.xml      |    9 +++++++++
 vlc-android/res/values/colors.xml                  |    1 +
 3 files changed, 10 insertions(+)

diff --git a/vlc-android/res/drawable-hdpi/actionbar_shadow.png b/vlc-android/res/drawable-hdpi/actionbar_shadow.png
deleted file mode 100644
index 5da6b2b..0000000
Binary files a/vlc-android/res/drawable-hdpi/actionbar_shadow.png and /dev/null differ
diff --git a/vlc-android/res/drawable/actionbar_shadow.xml b/vlc-android/res/drawable/actionbar_shadow.xml
new file mode 100644
index 0000000..af24bba
--- /dev/null
+++ b/vlc-android/res/drawable/actionbar_shadow.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+    android:shape="rectangle" >
+
+    <size android:height="2dp" />
+
+    <solid android:color="@color/darkerorange" />
+
+</shape>
\ No newline at end of file
diff --git a/vlc-android/res/values/colors.xml b/vlc-android/res/values/colors.xml
index 76de097..b6663c3 100644
--- a/vlc-android/res/values/colors.xml
+++ b/vlc-android/res/values/colors.xml
@@ -12,6 +12,7 @@
     <color name="font_light">#777777</color>
     <color name="orange">#ffbb33</color>
     <color name="darkorange">#ff8800</color>
+    <color name="darkerorange">#ff7200</color>
     <color name="black">#000001</color>
     <color name="transparent_gray">#8000</color>
     <color name="action_bar_title">#FFFFFF</color>



More information about the Android mailing list