Merge pull request #4486 from Bnyro/master

fix: overflowing issue in sort order option in library
This commit is contained in:
Bnyro 2023-08-15 12:55:31 +02:00 committed by GitHub
commit 1c84cd744c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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" />