This change fix the following UI issues:
1. We add a black backgorund when ActionBar shows and remove it
when we hide the action bar.
2. Make the postion of video stable when opening
3. Prevent glitching when opening a video
4. Make it really full-screen.
5. Hide ControlOverlay at begining.
bug:
6519765
bug:
6491674
Change-Id: I3ab033642df2c4a158b99385b02e3e967eebeabd
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/movie_view_root"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
-
+ android:id="@+id/movie_view_root"
+ android:background="@android:color/black"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
<VideoView android:id="@+id/surface_view"
+ android:visibility="invisible"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerInParent="true" />
-
</RelativeLayout>