[Android] Change software keys background to fit the app's theme when applicable
Nicolas Pomepuy
git at videolan.org
Thu Apr 30 09:37:44 CEST 2020
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Wed Apr 29 14:21:08 2020 +0200| [e546993f974c6ea0b31de41072b657503cae176a] | committer: Nicolas Pomepuy
Change software keys background to fit the app's theme when applicable
Fixes #1305
> https://code.videolan.org/videolan/vlc-android/commit/e546993f974c6ea0b31de41072b657503cae176a
---
application/vlc-android/res/values-v27/styles.xml | 41 +++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/application/vlc-android/res/values-v27/styles.xml b/application/vlc-android/res/values-v27/styles.xml
new file mode 100644
index 000000000..eeb00bb33
--- /dev/null
+++ b/application/vlc-android/res/values-v27/styles.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="utf-8"?><!--
+ ~ *************************************************************************
+ ~ styles.xml
+ ~ **************************************************************************
+ ~ Copyright © 2020 VLC authors and VideoLAN
+ ~ Author: Nicolas POMEPUY
+ ~ This program is free software; you can redistribute it and/or modify
+ ~ it under the terms of the GNU General Public License as published by
+ ~ the Free Software Foundation; either version 2 of the License, or
+ ~ (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ ~ GNU General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU General Public License
+ ~ along with this program; if not, write to the Free Software
+ ~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ ~ ***************************************************************************
+ ~
+ ~
+ -->
+
+<resources>
+
+ <style name="Theme.VLC" parent="Theme.VLC.19">
+ <item name="android:windowDrawsSystemBarBackgrounds">true</item>
+ <item name="android:statusBarColor">@color/white</item>
+ <item name="android:windowLightStatusBar">true</item>
+ <item name="android:navigationBarColor">@color/white</item>
+ <item name="android:windowLightNavigationBar">true</item>
+ </style>
+
+ <style name="Theme.VLC.Black" parent="Theme.VLC.Black.19">
+ <item name="android:windowDrawsSystemBarBackgrounds">true</item>
+ <item name="android:statusBarColor">@color/black</item>
+ <item name="android:windowLightStatusBar">false</item>
+ <item name="android:navigationBarColor">@color/grey875</item>
+ </style>
+</resources>
\ No newline at end of file
More information about the Android
mailing list