mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-05-17 07:21:58 +00:00
fix: libass positioning
This commit is contained in:
parent
74b25e5a54
commit
6e903d4b6e
1 changed files with 5 additions and 2 deletions
|
|
@ -19,10 +19,13 @@
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:scaleType="fitXY" />
|
android:scaleType="fitXY" />
|
||||||
|
|
||||||
|
<FrameLayout
|
||||||
|
android:id="@+id/libass_overlay_container"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent" />
|
||||||
|
|
||||||
</androidx.media3.ui.AspectRatioFrameLayout>
|
</androidx.media3.ui.AspectRatioFrameLayout>
|
||||||
|
|
||||||
<!-- SubtitleView is OUTSIDE the AspectRatioFrameLayout so it spans the
|
|
||||||
full player area and does not shift when the resize-mode changes. -->
|
|
||||||
<androidx.media3.ui.SubtitleView
|
<androidx.media3.ui.SubtitleView
|
||||||
android:id="@id/exo_subtitles"
|
android:id="@id/exo_subtitles"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue