[Android] Audio player: define a color for the background of the playlist
Adrien Maglo
git at videolan.org
Wed Jan 29 18:45:03 CET 2014
vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Wed Jan 29 18:43:36 2014 +0100| [42aedea438936fd2eb26c7fe110bcdd44d307ec0] | committer: Adrien Maglo
Audio player: define a color for the background of the playlist
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=42aedea438936fd2eb26c7fe110bcdd44d307ec0
---
vlc-android/res/layout/audio_player.xml | 2 +-
vlc-android/res/values-v11/styles.xml | 1 +
vlc-android/res/values/attrs.xml | 1 +
vlc-android/res/values/colors.xml | 1 +
vlc-android/res/values/styles.xml | 1 +
5 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/vlc-android/res/layout/audio_player.xml b/vlc-android/res/layout/audio_player.xml
index a7c0a78..2792a78 100644
--- a/vlc-android/res/layout/audio_player.xml
+++ b/vlc-android/res/layout/audio_player.xml
@@ -94,7 +94,7 @@
android:id="@+id/songs_list"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
- android:background="?attr/background_menu" />
+ android:background="?attr/background_playlist" />
<org.videolan.vlc.widget.AnimatedCoverView
android:id="@+id/big_cover"
diff --git a/vlc-android/res/values-v11/styles.xml b/vlc-android/res/values-v11/styles.xml
index 4a29da3..6b2c0a8 100644
--- a/vlc-android/res/values-v11/styles.xml
+++ b/vlc-android/res/values-v11/styles.xml
@@ -18,6 +18,7 @@
<item name="background_menu_divider">@color/background_menu_divider</item>
<item name="background_menu">@color/background_menu</item>
<item name="background_player">@color/background_player</item>
+ <item name="background_playlist">@color/background_playlist</item>
<item name="font_default">@color/font_default</item>
<item name="font_light">@color/font_light</item>
<item name="orange">@color/orange</item>
diff --git a/vlc-android/res/values/attrs.xml b/vlc-android/res/values/attrs.xml
index 6d85d27..cbff357 100644
--- a/vlc-android/res/values/attrs.xml
+++ b/vlc-android/res/values/attrs.xml
@@ -9,6 +9,7 @@
<attr name="background_menu_divider" format="reference|color" />
<attr name="background_menu" format="reference|color" />
<attr name="background_player" format="reference|color" />
+ <attr name="background_playlist" format="reference|color" />
<attr name="font_default" format="reference|color" />
<attr name="font_light" format="reference|color" />
<attr name="orange" format="reference|color" />
diff --git a/vlc-android/res/values/colors.xml b/vlc-android/res/values/colors.xml
index 446dc9d..6ded0c3 100644
--- a/vlc-android/res/values/colors.xml
+++ b/vlc-android/res/values/colors.xml
@@ -8,6 +8,7 @@
<color name="playlist_item_footer">#d0d0d0</color>
<color name="background_common">#f2f1f0</color>
<color name="background_player">#fafaf9</color>
+ <color name="background_playlist">#e7e5e2</color>
<color name="background_menu_divider">#d0d0d0</color>
<color name="background_menu">#e0e0e0</color>
<color name="font_default">#222222</color>
diff --git a/vlc-android/res/values/styles.xml b/vlc-android/res/values/styles.xml
index 3b04bb7..c385543 100644
--- a/vlc-android/res/values/styles.xml
+++ b/vlc-android/res/values/styles.xml
@@ -25,6 +25,7 @@
<item name="background_menu_divider">@color/background_menu_divider</item>
<item name="background_menu">@color/background_menu</item>
<item name="background_player">@color/background_player</item>
+ <item name="background_playlist">@color/background_playlist</item>
<item name="font_default">@color/font_default</item>
<item name="font_light">@color/font_light</item>
<item name="orange">@color/orange</item>
More information about the Android
mailing list