mirror of
https://github.com/recloudstream/cloudstream.git
synced 2026-08-02 04:43:17 +00:00
Compare commits
1 commit
master
...
fixsubtitl
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9964f6fbf0 |
4 changed files with 9 additions and 0 deletions
|
|
@ -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
|
// we default to 25sp, this is needed as RoundedBackgroundColorSpan breaks on override sizes
|
||||||
val size = data.fixedTextSize ?: 25.0f
|
val size = data.fixedTextSize ?: 25.0f
|
||||||
view.setFixedTextSize(TypedValue.COMPLEX_UNIT_SP, size)
|
view.setFixedTextSize(TypedValue.COMPLEX_UNIT_SP, size)
|
||||||
|
|
|
||||||
|
|
@ -1076,6 +1076,8 @@
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:id="@+id/subtitle_holder"
|
android:id="@+id/subtitle_holder"
|
||||||
|
android:clipChildren="false"
|
||||||
|
android:clipToPadding="false"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1116,6 +1116,8 @@
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:id="@+id/subtitle_holder"
|
android:id="@+id/subtitle_holder"
|
||||||
|
android:clipChildren="false"
|
||||||
|
android:clipToPadding="false"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -102,6 +102,8 @@
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:id="@+id/subtitle_holder"
|
android:id="@+id/subtitle_holder"
|
||||||
|
android:clipChildren="false"
|
||||||
|
android:clipToPadding="false"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue