fix: overflowing issue in sort order option in library

This commit is contained in:
Bnyro 2023-08-15 12:56:13 +02:00
parent 4dd49946ad
commit ceebe1f494

View File

@ -84,9 +84,9 @@
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <TextView
android:layout_width="0dp" android:layout_width="wrap_content"
android:layout_weight="1"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:maxLines="1"
android:padding="8dp" android:padding="8dp"
android:text="@string/playlists" android:text="@string/playlists"
android:textAlignment="viewStart" android:textAlignment="viewStart"
@ -95,11 +95,15 @@
<TextView <TextView
android:id="@+id/sortTV" android:id="@+id/sortTV"
android:layout_width="wrap_content" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1"
android:drawablePadding="5dp" android:drawablePadding="5dp"
android:ellipsize="end"
android:maxLines="1"
android:paddingHorizontal="10dp" android:paddingHorizontal="10dp"
android:text="@string/creation_date" android:text="@string/creation_date"
android:textAlignment="textEnd"
android:textSize="16sp" android:textSize="16sp"
app:drawableEndCompat="@drawable/ic_sort" /> app:drawableEndCompat="@drawable/ic_sort" />