[Android] Use AppCompat primary and accent colors
Geoffrey Métais
git at videolan.org
Thu Apr 23 14:08:05 CEST 2015
vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Apr 22 19:08:32 2015 +0200| [a32c11bc2f5ea83d20ffcca27e2f4d317c127648] | committer: Geoffrey Métais
Use AppCompat primary and accent colors
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=a32c11bc2f5ea83d20ffcca27e2f4d317c127648
---
vlc-android/res/values-v21/styles.xml | 6 ------
vlc-android/res/values/styles.xml | 10 ++++++++++
2 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/vlc-android/res/values-v21/styles.xml b/vlc-android/res/values-v21/styles.xml
index 32213e1..c26e305 100644
--- a/vlc-android/res/values-v21/styles.xml
+++ b/vlc-android/res/values-v21/styles.xml
@@ -6,21 +6,15 @@
<style name="Theme.VLC.Player" parent="Theme.VLC.Player.21"/>
<style name="Theme.VLC.21" parent="Theme.VLC.7">
- <item name="android:colorPrimary">@color/orange800</item>
- <item name="android:statusBarColor">@color/orange700</item>
<item name="android:popupMenuStyle">@style/PopupMenuStyle.Light</item>
</style>
<style name="Theme.VLC.Black.21" parent="Theme.VLC.Black.7">
- <item name="android:colorPrimary">@color/orange800</item>
- <item name="android:statusBarColor">@color/grey900</item>
<item name="android:popupMenuStyle">@style/PopupMenuStyle</item>
</style>
<style name="Theme.VLC.Player.21" parent="Theme.VLC.Player.19">
- <item name="android:colorPrimary">@color/orange800</item>
<item name="android:windowTranslucentStatus">false</item>">
<item name="android:windowTranslucentNavigation">false</item>
<item name="android:navigationBarColor">@android:color/transparent</item>
- <item name="android:statusBarColor">@android:color/transparent</item>
</style>
<style name="PopupMenuStyle.Light" parent="@style/Widget.AppCompat.Light.PopupMenu">
diff --git a/vlc-android/res/values/styles.xml b/vlc-android/res/values/styles.xml
index f26c683..09284be 100644
--- a/vlc-android/res/values/styles.xml
+++ b/vlc-android/res/values/styles.xml
@@ -17,6 +17,9 @@
<item name="android:expandableListViewStyle">@style/Theme.VLC.List</item>
<item name="android:dropDownListViewStyle">@style/Theme.VLC.List</item>
+ <item name="colorPrimary">@color/orange800</item>
+ <item name="colorPrimaryDark">@color/orange700</item>
+ <item name="colorAccent">@color/orange800</item>
<item name="item_footer">@color/grey300</item>
<item name="background_default">@color/grey50</item>
<item name="background_default_darker">@color/grey100</item>
@@ -91,6 +94,9 @@
<item name="android:expandableListViewStyle">@style/Theme.VLC.List</item>
<item name="android:dropDownListViewStyle">@style/Theme.VLC.List</item>
+ <item name="colorPrimary">@color/orange800</item>
+ <item name="colorPrimaryDark">@android:color/transparent</item>
+ <item name="colorAccent">@color/orange800</item>
<item name="item_footer">@color/grey700</item>
<item name="background_default">@color/grey850</item>
<item name="background_default_darker">@color/grey875</item>
@@ -173,6 +179,10 @@
<item name="video_player_overlay">@android:color/transparent</item>
<item name="status_bar_overlay">@android:color/transparent</item>
+ <item name="colorPrimary">@color/orange800</item>
+ <item name="colorPrimaryDark">@android:color/transparent</item>
+ <item name="colorAccent">@color/orange800</item>
+
<item name="rounded_bg">@drawable/rounded_corners</item>
<item name="advanced_options_style">@style/Theme.AppCompat.Dialog</item>
<item name="ic_speed_normal_style">@drawable/ic_speed_normal_w</item>
More information about the Android
mailing list