fix: fix Warning item title being cut off

This commit is contained in:
LucasGGamerM
2023-08-29 09:05:33 -03:00
parent 17a59b5db4
commit 0edaffee59

View File

@@ -1,15 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="75dp"
android:layout_height="wrap_content"
android:minHeight="75dp"
android:id="@+id/warning_wrap"
android:background="@drawable/bg_timeline_gap">
android:background="@drawable/bg_timeline_gap"
android:orientation="horizontal">
<TextView
android:id="@+id/text"
android:layout_width="match_parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:ellipsize="end"
android:layout_weight="1"
android:layout_gravity="start|center_vertical"
android:textAppearance="@style/m3_title_medium"
android:textColor="?android:textColorSecondary"
@@ -22,10 +26,11 @@
android:layout_marginEnd="16dp"
android:layout_gravity="end|center_vertical"
android:text="@string/spoiler_show"
android:layout_weight="1"
android:singleLine="true"
android:ellipsize="end"
android:visibility="visible"
/>
</FrameLayout>
</LinearLayout>