diff options
author | Owen Lin <owenlin@google.com> | 2012-05-23 15:47:36 -0700 |
---|---|---|
committer | Owen Lin <owenlin@google.com> | 2012-05-25 16:02:23 -0700 |
commit | 5366111a30ec5d4198e9c7e75cf60349d6fd7cb1 (patch) | |
tree | 39a6e7d2f190dc6a24bc85086a6ea4cb980e5b40 /res/layout | |
parent | d56c6436ae60f261714bb47100e6adc060d83f8a (diff) | |
download | android_packages_apps_Snap-5366111a30ec5d4198e9c7e75cf60349d6fd7cb1.tar.gz android_packages_apps_Snap-5366111a30ec5d4198e9c7e75cf60349d6fd7cb1.tar.bz2 android_packages_apps_Snap-5366111a30ec5d4198e9c7e75cf60349d6fd7cb1.zip |
Add back the background when we show the action bar
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
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/movie_view.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/res/layout/movie_view.xml b/res/layout/movie_view.xml index 4e645cf09..75b8dfd4f 100644 --- a/res/layout/movie_view.xml +++ b/res/layout/movie_view.xml @@ -15,13 +15,13 @@ --> <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> |