Return maxLines, but value a bit more

This commit is contained in:
Zakhar Timoshenko
2022-07-22 18:27:02 +03:00
parent d189e09aba
commit 9917787d6f
2 changed files with 3 additions and 2 deletions

View File

@@ -56,7 +56,7 @@
android:layout_marginHorizontal="16dp"
android:layout_marginTop="16dp"
android:ellipsize="end"
android:maxLines="3"
android:maxLines="4"
android:textAppearance="?attr/textAppearanceHeadlineSmall"
tools:text="@tools:sample/lorem[15]" />
@@ -259,4 +259,4 @@
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.core.widget.NestedScrollView>
</androidx.core.widget.NestedScrollView>

View File

@@ -46,6 +46,7 @@
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="16dp"
android:maxLines="5"
android:ellipsize="end"
android:textAppearance="?attr/textAppearanceHeadlineSmall"
app:layout_constraintEnd_toEndOf="parent"