Browse Source

fix: message item view when not have size

main
Distopico Vegan 6 years ago
parent
commit
2d44ea54ab
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      app/src/main/res/layout/item_message_compact.xml
  2. +2
    -2
      app/src/main/res/layout/item_message_normal.xml

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

@ -177,7 +177,7 @@
android:text="123 KB" android:text="123 KB"
android:textAppearance="@style/TextAppearance.AppCompat.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
app:layout_constraintTop_toBottomOf="@id/tvSubject" app:layout_constraintTop_toBottomOf="@id/tvSubject"
app:layout_constraintEnd_toStartOf="@+id/paddingEnd" />
app:layout_constraintEnd_toEndOf="parent" />
<TextView <TextView
android:id="@+id/tvError" android:id="@+id/tvError"
@ -191,7 +191,7 @@
android:textIsSelectable="true" android:textIsSelectable="true"
app:layout_constraintEnd_toStartOf="@+id/paddingEnd" app:layout_constraintEnd_toStartOf="@+id/paddingEnd"
app:layout_constraintStart_toEndOf="@id/paddingStart" app:layout_constraintStart_toEndOf="@id/paddingStart"
app:layout_constraintTop_toBottomOf="@id/tvSize" />
app:layout_constraintTop_toBottomOf="@id/tvCount" />
<View <View
android:id="@+id/paddingEnd" android:id="@+id/paddingEnd"


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

@ -173,7 +173,7 @@
android:maxLines="1" android:maxLines="1"
android:text="123 KB" android:text="123 KB"
android:textAppearance="@style/TextAppearance.AppCompat.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
app:layout_constraintEnd_toStartOf="@+id/paddingEnd"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvSubject" /> app:layout_constraintTop_toBottomOf="@id/tvSubject" />
<TextView <TextView
@ -189,7 +189,7 @@
android:textIsSelectable="true" android:textIsSelectable="true"
app:layout_constraintEnd_toStartOf="@+id/paddingEnd" app:layout_constraintEnd_toStartOf="@+id/paddingEnd"
app:layout_constraintStart_toEndOf="@id/paddingStart" app:layout_constraintStart_toEndOf="@id/paddingStart"
app:layout_constraintTop_toBottomOf="@id/tvSize" />
app:layout_constraintTop_toBottomOf="@id/tvCount" />
<View <View
android:id="@+id/paddingEnd" android:id="@+id/paddingEnd"


Loading…
Cancel
Save