[Android] Video Player: translucent StatusBar after Android 4.4

Thomas Guillem git at videolan.org
Fri Oct 3 14:23:51 CEST 2014


vlc-ports/android | branch: master | Thomas Guillem <thomas.guillem at gmail.com> | Thu Oct  2 09:25:51 2014 +0200| [da64be5b808241c5c89374efe503246a24e801c0] | committer: Jean-Baptiste Kempf

Video Player: translucent StatusBar after Android 4.4

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 vlc-android/res/values-v19/styles.xml |   12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/vlc-android/res/values-v19/styles.xml b/vlc-android/res/values-v19/styles.xml
new file mode 100644
index 0000000..58513bc
--- /dev/null
+++ b/vlc-android/res/values-v19/styles.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<resources xmlns:android="http://schemas.android.com/apk/res/android">
+    <style name="Theme.VLC.Player" parent="android:Theme.Holo">
+        <item name="android:windowBackground">@color/black</item>
+        <item name="android:windowActionBarOverlay">true</item>
+        <item name="android:windowTranslucentStatus">true</item>
+
+        <item name="video_player_overlay">@color/transparent_gray</item>
+        <item name="status_bar_overlay">@android:color/transparent</item>
+        <item name="advanced_options_style">@style/Theme.VLC.AdvancedOptionsBlack</item>
+    </style>
+</resources>



More information about the Android mailing list