Commit 73c7fb12 authored by Sébastien Toque's avatar Sébastien Toque

VideoPlayer: reduce overdraw

parent 7e8dbaf8
......@@ -67,7 +67,7 @@
<activity
android:name=".gui.video.VideoPlayerActivity"
android:configChanges="orientation|screenSize"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
android:theme="@style/Theme.VLC.Fullscreen" >
<!-- This filter captures protocols without type info -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
......
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#000001" >
android:layout_height="fill_parent" >
<!-- the double FrameLayout is necessary here to do cropping on the right
(which requires the surface not be centered), while keeping the result centered -->
......
......@@ -11,5 +11,6 @@
<color name="font_light">#777777</color>
<color name="orange">#ffbb33</color>
<color name="darkorange">#ff8800</color>
<color name="black">#000001</color>
</resources>
\ No newline at end of file
......@@ -58,6 +58,10 @@
<item name="android:windowBackground">@color/background_common</item>
</style>
<style name="Theme.VLC.Fullscreen" parent="android:Theme.NoTitleBar.Fullscreen">
<item name="android:windowBackground">@color/black</item>
</style>
<style name="ActionBar" parent="Widget.Sherlock.Light.ActionBar">
<item name="android:background">@drawable/actionbar_background</item>
<item name="background">@drawable/actionbar_background</item>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment