OSDN Git Service

Add back the background when we show the action bar
authorOwen Lin <owenlin@google.com>
Wed, 23 May 2012 22:47:36 +0000 (15:47 -0700)
committerOwen Lin <owenlin@google.com>
Fri, 25 May 2012 23:02:23 +0000 (16:02 -0700)
commit00bb8e439e33848d679a4404c203af9ed1a06a19
tree7821ca8e6c26aadc8c8446c0c4883c745727db12
parentceab9f07470e899c2ff34d4ddd4a43395a9f6523
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
res/layout/movie_view.xml
src/com/android/gallery3d/app/MovieActivity.java
src/com/android/gallery3d/app/MovieControllerOverlay.java
src/com/android/gallery3d/app/MoviePlayer.java