Migrate to 100% Material3 text styling. I had to basically ignore the intended styling here just to get a sensible design here, which is "bad" but I do what I want. The only usage of MaterialComponents left in the project now is the dialog since the new dialog style the worst thing ever.
35 lines
1.4 KiB
XML
35 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingTop="@dimen/spacing_medium">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/excluded_recycler"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="1"
|
|
android:overScrollMode="never"
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
tools:itemCount="1"
|
|
tools:listitem="@layout/item_excluded_dir" />
|
|
|
|
<TextView
|
|
android:id="@+id/excluded_empty"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/inter_semibold"
|
|
android:padding="@dimen/spacing_medium"
|
|
android:text="@string/lbl_no_dirs"
|
|
android:textAlignment="center"
|
|
android:textAppearance="@style/TextAppearance.Auxio.TitleMedium"
|
|
android:textColor="?android:attr/textColorSecondary" />
|
|
|
|
</LinearLayout>
|
|
</layout> |