Fix expanding captions.

This commit is contained in:
Alex Hart
2023-08-07 11:15:50 -03:00
parent 06dc8ccbdd
commit 8af91bffb5
3 changed files with 44 additions and 2 deletions

View File

@@ -34,6 +34,7 @@ class ExpandingCaptionView @JvmOverloads constructor(
val overflow = SpannableString(context.getString(R.string.MediaPreviewFragment_read_more_overflow_text))
overflow.setSpan(StyleSpan(Typeface.BOLD), 0, overflow.length, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE)
setOverflowText(overflow)
bindGestureListener()
}
private fun toggleExpansion() {