Browse Source

set ellipsize in normal view

main
Distopico Vegan 5 years ago
parent
commit
2bf14d3c62
No known key found for this signature in database GPG Key ID: 98093A8072546BF3
2 changed files with 5 additions and 1 deletions
  1. +2
    -1
      app/src/main/res/layout/item_message_compact.xml
  2. +3
    -0
      app/src/main/res/layout/item_message_normal.xml

+ 2
- 1
app/src/main/res/layout/item_message_compact.xml View File

@ -66,8 +66,9 @@
android:layout_marginStart="@dimen/margin_sm"
android:layout_marginEnd="20dp"
android:fontFamily="sans-serif-light"
android:text="@string/default_from"
android:minLines="1"
android:ellipsize="end"
android:text="@string/default_from"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
app:layout_constraintEnd_toStartOf="@id/tvTime"
app:layout_constraintStart_toEndOf="@id/ivAvatar"


+ 3
- 0
app/src/main/res/layout/item_message_normal.xml View File

@ -64,6 +64,7 @@
android:layout_marginStart="6dp"
android:fontFamily="sans-serif-light"
android:minLines="1"
android:ellipsize="end"
android:text="@string/default_subject"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
app:layout_constraintEnd_toStartOf="@id/paddingEnd"
@ -77,6 +78,8 @@
android:layout_marginStart="6dp"
android:layout_marginEnd="6dp"
android:fontFamily="sans-serif-light"
android:minLines="1"
android:ellipsize="end"
android:text="@string/default_from"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
app:layout_constraintEnd_toStartOf="@+id/tvTime"


Loading…
Cancel
Save