[Android] Audio player: set the background color
Adrien Maglo
git at videolan.org
Fri Jan 17 16:02:54 CET 2014
vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Fri Jan 17 15:52:33 2014 +0100| [eea1ed398d957329af6338608144f6a7ca4222e4] | committer: Adrien Maglo
Audio player: set the background color
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=eea1ed398d957329af6338608144f6a7ca4222e4
---
vlc-android/res/layout/audio_player.xml | 1 +
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(+)
diff --git a/vlc-android/res/layout/audio_player.xml b/vlc-android/res/layout/audio_player.xml
index 5aef619..79ae9a6 100644
--- a/vlc-android/res/layout/audio_player.xml
+++ b/vlc-android/res/layout/audio_player.xml
@@ -2,6 +2,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
+ android:background="?attr/background_player"
android:orientation="vertical" >
<LinearLayout
diff --git a/vlc-android/res/values-v11/styles.xml b/vlc-android/res/values-v11/styles.xml
index a8d4570..83dd859 100644
--- a/vlc-android/res/values-v11/styles.xml
+++ b/vlc-android/res/values-v11/styles.xml
@@ -15,6 +15,7 @@
<item name="item_common_selected">@color/item_common_selected</item>
<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="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 fd6d650..2ca445f 100644
--- a/vlc-android/res/values/attrs.xml
+++ b/vlc-android/res/values/attrs.xml
@@ -7,6 +7,7 @@
<attr name="item_footer" format="reference|color" />
<attr name="background_menu_divider" format="reference|color" />
<attr name="background_menu" format="reference|color" />
+ <attr name="background_player" 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 2770c04..fb4a491 100644
--- a/vlc-android/res/values/colors.xml
+++ b/vlc-android/res/values/colors.xml
@@ -6,6 +6,7 @@
<color name="item_common_selected">#5e5e5e</color>
<color name="item_footer">#e0e0e0</color>
<color name="background_common">#f2f1f0</color>
+ <color name="background_player">#fafaf9</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 b79efc9..5750c6d 100644
--- a/vlc-android/res/values/styles.xml
+++ b/vlc-android/res/values/styles.xml
@@ -22,6 +22,7 @@
<item name="item_footer">@color/item_footer</item>
<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="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