Adjust sizes for text post text size.
This commit is contained in:
parent
83c3b16b92
commit
6497ec8098
3 changed files with 3 additions and 3 deletions
|
@ -25,7 +25,7 @@ class TextStoryTextWatcher private constructor(private val textView: TextView) :
|
|||
breakIteratorCompat.setText(textView.text)
|
||||
val length = breakIteratorCompat.countBreaks()
|
||||
val expectedTextSize = when {
|
||||
length < 50 -> 36f
|
||||
length < 50 -> 34f
|
||||
length < 200 -> 24f
|
||||
else -> 18f
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
android:paddingBottom="13dp"
|
||||
android:textAppearance="@style/TextAppearance.Signal.Body1.Bold"
|
||||
android:textColor="@color/core_white"
|
||||
android:textSize="36dp"
|
||||
android:textSize="34dp"
|
||||
tools:ignore="SpUsage"
|
||||
tools:text="THIS IS SOME TEXT THAT I AM ENTERING" />
|
||||
</FrameLayout>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
android:text="@string/TextStoryPostCreationFragment__tap_to_add_text"
|
||||
android:textAppearance="@style/TextAppearance.Signal.Body1.Bold"
|
||||
android:textColor="@color/core_white"
|
||||
android:textSize="36dp"
|
||||
android:textSize="34dp"
|
||||
app:layout_constrainedWidth="true"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0"
|
||||
|
|
Loading…
Add table
Reference in a new issue