mirror of
https://github.com/samsonjs/media.git
synced 2026-04-15 12:55:46 +00:00
Draw subtitles over the shutter.
This allows the demo app to display subtitles without video (when there's no video, the shutter view does not hide itself).
This commit is contained in:
parent
e48851d8cc
commit
95fcb3b411
1 changed files with 4 additions and 4 deletions
|
|
@ -31,15 +31,15 @@
|
|||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
<com.google.android.exoplayer.text.SubtitleLayout android:id="@+id/subtitles"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
|
||||
<View android:id="@+id/shutter"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@android:color/black"/>
|
||||
|
||||
<com.google.android.exoplayer.text.SubtitleLayout android:id="@+id/subtitles"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
|
||||
</com.google.android.exoplayer.AspectRatioFrameLayout>
|
||||
|
||||
<LinearLayout
|
||||
|
|
|
|||
Loading…
Reference in a new issue