Resize filter rows automatically
This commit is contained in:
parent
051714dff8
commit
a26a41514a
|
@ -1,17 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<de.danoeh.antennapod.view.RecursiveRadioGroup xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<de.danoeh.antennapod.view.RecursiveRadioGroup
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingBottom="8dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="48dp"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:clipChildren="true"
|
||||
app:cardCornerRadius="24dp"
|
||||
app:cardCornerRadius="32dp"
|
||||
app:cardElevation="0dp">
|
||||
|
||||
<LinearLayout
|
||||
|
@ -28,6 +29,7 @@
|
|||
android:layout_weight="1"
|
||||
android:background="?attr/filter_dialog_button_background"
|
||||
android:button="@android:color/transparent"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
android:checked="false"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/filter_dialog_button_text" />
|
||||
|
@ -39,6 +41,7 @@
|
|||
android:layout_weight="1"
|
||||
android:background="?attr/filter_dialog_button_background"
|
||||
android:button="@android:color/transparent"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
android:checked="false"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/filter_dialog_button_text" />
|
||||
|
@ -51,6 +54,8 @@
|
|||
android:layout_height="48dp"
|
||||
android:background="@drawable/ic_filter_close"
|
||||
android:button="@android:color/transparent"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:checked="true" />
|
||||
|
||||
</de.danoeh.antennapod.view.RecursiveRadioGroup>
|
||||
|
|
Loading…
Reference in New Issue