match transition text used by other readers (#2439)

This commit is contained in:
Carlos 2020-01-05 17:59:05 -05:00 committed by arkon
parent df14e6d43e
commit 708525ef9d

View file

@ -1,8 +1,6 @@
package eu.kanade.tachiyomi.ui.reader.viewer.webtoon package eu.kanade.tachiyomi.ui.reader.viewer.webtoon
import android.graphics.Typeface import android.graphics.Typeface
import androidx.appcompat.widget.AppCompatButton
import androidx.appcompat.widget.AppCompatTextView
import android.text.SpannableStringBuilder import android.text.SpannableStringBuilder
import android.text.Spanned import android.text.Spanned
import android.text.style.StyleSpan import android.text.style.StyleSpan
@ -12,6 +10,8 @@ import android.view.ViewGroup.LayoutParams.WRAP_CONTENT
import android.widget.LinearLayout import android.widget.LinearLayout
import android.widget.ProgressBar import android.widget.ProgressBar
import android.widget.TextView import android.widget.TextView
import androidx.appcompat.widget.AppCompatButton
import androidx.appcompat.widget.AppCompatTextView
import eu.kanade.tachiyomi.R import eu.kanade.tachiyomi.R
import eu.kanade.tachiyomi.ui.reader.model.ChapterTransition import eu.kanade.tachiyomi.ui.reader.model.ChapterTransition
import eu.kanade.tachiyomi.ui.reader.model.ReaderChapter import eu.kanade.tachiyomi.ui.reader.model.ReaderChapter
@ -36,7 +36,10 @@ class WebtoonTransitionHolder(
/** /**
* Text view used to display the text of the current and next/prev chapters. * Text view used to display the text of the current and next/prev chapters.
*/ */
private var textView = TextView(context) private var textView = TextView(context).apply {
textSize = 17.5F
wrapContent()
}
/** /**
* View container of the current status of the transition page. Child views will be added * View container of the current status of the transition page. Child views will be added