Commit 95fcb3b4 by Oliver Woodman

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).
parent e48851d8
Showing with 4 additions and 4 deletions
...@@ -31,15 +31,15 @@ ...@@ -31,15 +31,15 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_gravity="center"/> 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" <View android:id="@+id/shutter"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@android:color/black"/> 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> </com.google.android.exoplayer.AspectRatioFrameLayout>
<LinearLayout <LinearLayout
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment