2021-08-14 19:35:26 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-01-29 18:57:19 +00:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2021-08-14 19:35:26 +00:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="match_parent"
|
2021-09-19 20:33:39 +00:00
|
|
|
android:background="?attr/primaryBlackBackground"
|
2021-08-14 19:35:26 +00:00
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
2021-10-27 19:45:15 +00:00
|
|
|
<!--
|
|
|
|
app:thumbTint="@color/toggle_selector"
|
|
|
|
app:trackTint="@color/toggle_selector"-->
|
2021-08-14 19:35:26 +00:00
|
|
|
<com.google.android.material.switchmaterial.SwitchMaterial
|
2021-10-09 21:59:37 +00:00
|
|
|
android:id="@+id/toggle1"
|
|
|
|
|
2021-10-30 18:42:58 +00:00
|
|
|
android:nextFocusLeft="@id/apply_btt"
|
|
|
|
android:nextFocusRight="@id/cancel_btt"
|
|
|
|
|
2021-08-14 19:35:26 +00:00
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:paddingStart="20dp"
|
|
|
|
android:paddingEnd="20dp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:textSize="20sp"
|
2021-10-27 19:45:15 +00:00
|
|
|
app:useMaterialThemeColors="false"
|
|
|
|
|
2021-08-14 19:35:26 +00:00
|
|
|
android:textColor="?attr/textColor"
|
2021-10-09 21:59:37 +00:00
|
|
|
tools:text="Search"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
2022-01-29 18:57:19 +00:00
|
|
|
|
|
|
|
<requestFocus />
|
2021-08-14 19:35:26 +00:00
|
|
|
</com.google.android.material.switchmaterial.SwitchMaterial>
|
2022-01-29 18:57:19 +00:00
|
|
|
|
2021-08-14 19:35:26 +00:00
|
|
|
<ListView
|
2021-10-09 21:59:37 +00:00
|
|
|
android:nextFocusRight="@id/cancel_btt"
|
|
|
|
android:nextFocusLeft="@id/apply_btt"
|
|
|
|
|
2021-10-30 18:42:58 +00:00
|
|
|
android:nextFocusUp="@id/toggle1"
|
|
|
|
android:nextFocusDown="@id/apply_btt"
|
|
|
|
|
2021-08-14 19:35:26 +00:00
|
|
|
android:id="@+id/listview1"
|
|
|
|
android:layout_marginTop="-10dp"
|
|
|
|
android:layout_marginBottom="60dp"
|
|
|
|
android:paddingTop="10dp"
|
2021-12-26 00:05:10 +00:00
|
|
|
android:requiresFadingEdge="vertical"
|
2021-08-14 19:35:26 +00:00
|
|
|
tools:listitem="@layout/sort_bottom_single_choice"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2022-01-29 18:57:19 +00:00
|
|
|
android:layout_rowWeight="1" />
|
|
|
|
|
2021-08-14 19:35:26 +00:00
|
|
|
<ListView
|
2021-10-09 21:59:37 +00:00
|
|
|
android:nextFocusRight="@id/cancel_btt"
|
|
|
|
android:nextFocusLeft="@id/apply_btt"
|
|
|
|
|
2021-10-30 18:42:58 +00:00
|
|
|
android:nextFocusUp="@id/toggle1"
|
|
|
|
android:nextFocusDown="@id/apply_btt"
|
|
|
|
|
2021-08-14 19:35:26 +00:00
|
|
|
android:id="@+id/listview2"
|
|
|
|
android:layout_marginTop="-10dp"
|
|
|
|
android:layout_marginBottom="60dp"
|
|
|
|
android:paddingTop="10dp"
|
2021-12-26 00:05:10 +00:00
|
|
|
android:requiresFadingEdge="vertical"
|
2021-08-14 19:35:26 +00:00
|
|
|
tools:listitem="@layout/sort_bottom_single_choice"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2022-01-29 18:57:19 +00:00
|
|
|
android:layout_rowWeight="1" />
|
|
|
|
|
2021-08-14 19:35:26 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/apply_btt_holder"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:gravity="bottom|end"
|
|
|
|
android:layout_marginTop="-60dp"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="60dp">
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
2021-10-09 21:59:37 +00:00
|
|
|
android:nextFocusRight="@id/cancel_btt"
|
|
|
|
android:nextFocusLeft="@id/cancel_btt"
|
|
|
|
|
|
|
|
android:id="@+id/apply_btt"
|
2021-08-14 19:35:26 +00:00
|
|
|
style="@style/WhiteButton"
|
|
|
|
android:layout_gravity="center_vertical|end"
|
|
|
|
android:text="@string/sort_apply"
|
2022-01-29 18:57:19 +00:00
|
|
|
android:layout_width="wrap_content" />
|
|
|
|
|
2021-08-14 19:35:26 +00:00
|
|
|
<com.google.android.material.button.MaterialButton
|
2021-10-09 21:59:37 +00:00
|
|
|
android:nextFocusLeft="@id/apply_btt"
|
|
|
|
android:nextFocusRight="@id/apply_btt"
|
|
|
|
|
|
|
|
android:id="@+id/cancel_btt"
|
2021-08-14 19:35:26 +00:00
|
|
|
style="@style/BlackButton"
|
|
|
|
android:layout_gravity="center_vertical|end"
|
|
|
|
android:text="@string/sort_cancel"
|
2022-01-29 18:57:19 +00:00
|
|
|
android:layout_width="wrap_content" />
|
2021-08-14 19:35:26 +00:00
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|