Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ class SubtitlesFragment : BaseDialogFragment<SubtitleSettingsBinding>(
)
}

view.clipToPadding = false
view.clipChildren = false

// we default to 25sp, this is needed as RoundedBackgroundColorSpan breaks on override sizes
val size = data.fixedTextSize ?: 25.0f
view.setFixedTextSize(TypedValue.COMPLEX_UNIT_SP, size)
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/layout/player_custom_layout.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1076,6 +1076,8 @@

<FrameLayout
android:id="@+id/subtitle_holder"
android:clipChildren="false"
android:clipToPadding="false"
android:layout_width="match_parent"
android:layout_height="match_parent">

Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/layout/player_custom_layout_tv.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1116,6 +1116,8 @@

<FrameLayout
android:id="@+id/subtitle_holder"
android:clipChildren="false"
android:clipToPadding="false"
android:layout_width="match_parent"
android:layout_height="match_parent">

Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/layout/trailer_custom_layout.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@

<FrameLayout
android:id="@+id/subtitle_holder"
android:clipChildren="false"
android:clipToPadding="false"
android:layout_width="match_parent"
android:layout_height="match_parent">

Expand Down