Add an option to save the current group filter

This commit is contained in:
Alexander Bakker 2021-05-16 13:04:58 +02:00
parent 51eade900c
commit fc25312d12
6 changed files with 83 additions and 22 deletions

View file

@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
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:paddingTop="12dp"
@ -43,13 +42,26 @@
</com.google.android.material.chip.ChipGroup>
</LinearLayout>
<Button
android:id="@+id/btnClear"
<LinearLayout
android:layout_gravity="end"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="end"
style="?android:attr/borderlessButtonStyle"
android:textColor="@color/colorSecondary"
android:paddingEnd="16dp"
android:text="Clear" />
android:orientation="horizontal">
<Button
android:id="@+id/btnSave"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/colorSecondary"
android:text="@string/save"
style="?android:attr/borderlessButtonStyle" />
<Button
android:id="@+id/btnClear"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/colorSecondary"
android:text="@string/clear"
style="?android:attr/borderlessButtonStyle" />
</LinearLayout>
</LinearLayout>