Refactor the styling again to make all styles start with the Auxio prefix. Also try to phase out the usage of layout_width and layout_height in most places, since those can cause a lot of frustration if they aren't used in the layout they are expected in.
38 lines
1.6 KiB
XML
38 lines
1.6 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">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
style="@style/Widget.Auxio.ItemLayout"
|
|
android:clickable="false"
|
|
android:focusable="false"
|
|
android:padding="0dp">
|
|
|
|
<TextView
|
|
android:id="@+id/excluded_path"
|
|
style="@style/Widget.Auxio.TextView.Item.Primary"
|
|
android:layout_margin="@dimen/spacing_medium"
|
|
android:maxLines="@null"
|
|
android:gravity="center"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toStartOf="@+id/excluded_clear"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:text="/storage/emulated/0/directory" />
|
|
|
|
<ImageButton
|
|
android:id="@+id/excluded_clear"
|
|
style="@style/Widget.Auxio.Button.Unbounded"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="@dimen/spacing_small"
|
|
android:contentDescription="@string/desc_blacklist_delete"
|
|
android:src="@drawable/ic_clear"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:tint="?attr/colorControlNormal" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</layout> |