fix ugly media previews in conversation tab (#1762)

This commit is contained in:
Konrad Pozniak 2020-04-20 20:01:20 +02:00 committed by GitHub
parent 386d197851
commit bbd31d5ba4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -197,6 +197,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"
@ -310,8 +311,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:lineSpacingMultiplier="1.2" android:lineSpacingMultiplier="1.2"