fix: libass positioning

This commit is contained in:
chrisk325 2026-04-14 00:08:13 +05:30 committed by GitHub
parent 74b25e5a54
commit 6e903d4b6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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