fix ugly media previews in conversation tab (#1762)

main
Konrad Pozniak 5 years ago committed by Alibek Omarov
parent d1ab0deb98
commit 67a0bdcaed
  1. 1
      app/src/main/res/layout/item_conversation.xml
  2. 4
      app/src/main/res/layout/item_media_preview.xml

@ -199,6 +199,7 @@
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="@dimen/status_media_preview_margin_top" android:layout_marginTop="@dimen/status_media_preview_margin_top"
android:background="@drawable/media_preview_outline"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@id/status_display_name" app:layout_constraintStart_toStartOf="@id/status_display_name"
app:layout_constraintTop_toBottomOf="@id/button_toggle_content" app:layout_constraintTop_toBottomOf="@id/button_toggle_content"

@ -113,8 +113,8 @@
<TextView <TextView
android:id="@+id/status_sensitive_media_warning" android:id="@+id/status_sensitive_media_warning"
android:layout_width="0dp" android:layout_width="wrap_content"
android:layout_height="0dp" android:layout_height="wrap_content"
android:background="@drawable/media_warning_bg" android:background="@drawable/media_warning_bg"
android:gravity="center" android:gravity="center"
android:importantForAccessibility="no" android:importantForAccessibility="no"

Loading…
Cancel
Save