Files
tempor/app/src/main/res/layout/item_library_genre.xml
MaFo-28 b6e75afe12 feat: tile size manager (#440)
* Add TileSizeManager and improve dynamic tile sizing

* Improve scale labels

* Add protection against invalid tile size preferences

* Fix DiscoverSongAdapter & move TileSizeManager
2026-03-14 08:04:47 -07:00

41 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingEnd="8dp"
android:paddingBottom="4dp">
<androidx.cardview.widget.CardView xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:id="@+id/card_view"
android:layout_width="172dp"
android:layout_height="54dp"
android:layout_gravity="center"
card_view:cardCornerRadius="4dp"
card_view:cardElevation="2dp"
card_view:cardPreventCornerOverlap="false"
card_view:cardUseCompatPadding="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<View
android:layout_width="6dp"
android:layout_height="match_parent"
android:background="?attr/colorPrimary" />
<TextView
android:id="@+id/genre_label"
style="@style/LabelMedium"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="center_vertical"
android:paddingStart="8dp"
android:text="@string/label_placeholder"
android:textAlignment="gravity" />
</LinearLayout>
</androidx.cardview.widget.CardView>
</LinearLayout>