Improve media browser and video viewer
* show/hide status bar by tapping a photo * dim and color status bar in video/media viewers * show/hide status bar in video viewer * use shared element transition when opening a photo is possible * center video in VideoView
This commit is contained in:
parent
6e67db7631
commit
08f928a2b2
11 changed files with 222 additions and 50 deletions
|
@ -10,10 +10,9 @@
|
|||
tools:context=".ViewVideoActivity">
|
||||
<VideoView
|
||||
android:id="@+id/video_player"
|
||||
android:layout_marginTop="?attr/actionBarSize"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerInParent="true" />
|
||||
android:layout_gravity="center" />
|
||||
<ProgressBar
|
||||
android:id="@+id/video_progress"
|
||||
android:layout_gravity="center"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue