Freeze text where applicable.
This commit is contained in:
parent
943a565166
commit
60e2aa7216
2 changed files with 9 additions and 5 deletions
|
@ -96,6 +96,7 @@ class ProgrammingActivity : AppCompatActivity(), AnkoLogger {
|
|||
autofitTextView {
|
||||
text = getString(R.string.no_conf_req)
|
||||
typeface = Typeface.create(Typeface.DEFAULT, Typeface.ITALIC)
|
||||
freezesText = true
|
||||
}.lparams(width = matchParent, height = matchParent)
|
||||
|
||||
} else {
|
||||
|
@ -111,6 +112,7 @@ class ProgrammingActivity : AppCompatActivity(), AnkoLogger {
|
|||
|
||||
val editText = textInputEditText {
|
||||
hint = field!!.hint
|
||||
freezesText = true
|
||||
|
||||
if (field.alpha) {
|
||||
if (params.type.isDKS()) {
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:padding="16dp"
|
||||
android:weightSum="1"
|
||||
android:orientation="vertical">
|
||||
android:weightSum="1">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/frag_steps_title"
|
||||
|
@ -18,6 +18,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:freezesText="true"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<com.lb.auto_fit_textview.AutoResizeTextView
|
||||
|
@ -25,11 +26,12 @@
|
|||
style="?android:textAppearanceLarge"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:lineSpacingMultiplier="1.2"
|
||||
android:gravity="center"
|
||||
android:text=""
|
||||
android:layout_weight="0.8"
|
||||
android:freezesText="true"
|
||||
android:gravity="center"
|
||||
android:lineSpacingMultiplier="1.2"
|
||||
android:maxLines="1"
|
||||
android:text=""
|
||||
android:textSize="78sp" />
|
||||
</LinearLayout>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue