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