Add sort for artist albums

This commit is contained in:
tomaThomas 2024-12-13 23:48:18 +01:00
parent 8548437633
commit 7cc1636e5a
No known key found for this signature in database
GPG key ID: DEE963DC84059108
6 changed files with 132 additions and 8 deletions

View file

@ -52,10 +52,26 @@
android:textColor="?android:attr/textColorPrimary"
android:textStyle="bold"
app:layout_constrainedWidth="true"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintEnd_toStartOf="@id/album_sort_order"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/playAction" />
<com.google.android.material.button.MaterialButton
android:id="@+id/album_sort_order"
style="@style/Widget.Material3.Button.IconButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:background="?roundSelector"
app:icon="@drawable/ic_sort"
app:iconSize="24dp"
app:iconTint="?colorControlNormal"
app:layout_constraintBottom_toBottomOf="@+id/albumTitle"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/albumTitle"
app:layout_constraintTop_toTopOf="@id/albumTitle" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/albumRecyclerView"
android:layout_width="match_parent"