Fix layout issue with long CWs (#978)

This commit is contained in:
Ivan Kupalov 2019-01-10 22:41:39 +03:00 committed by Konrad Pozniak
parent 38c7c8c71a
commit 0300a11d1e
1 changed files with 3 additions and 2 deletions

View File

@ -96,15 +96,16 @@
<androidx.emoji.widget.EmojiTextView
android:id="@+id/status_content_warning_description"
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:lineSpacingMultiplier="1.1"
android:textColor="?android:textColorPrimary"
android:textSize="?attr/status_text_medium"
android:visibility="gone"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@id/status_display_name"
app:layout_constraintTop_toBottomOf="@id/status_display_name"
tools:text="content warning"
tools:text="content warning which is very long and it doesn't fit"
tools:visibility="visible" />
<ToggleButton