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:
Oliver Woodman 2015-09-10 18:24:31 +01:00
parent e48851d8cc
commit 95fcb3b411

View file

@ -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