59 lines
2.1 KiB
XML
59 lines
2.1 KiB
XML
<?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:id="@+id/llContent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/colorSearchFormBackground"
|
|
android:baselineAligned="false"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:paddingBottom="6dp"
|
|
android:paddingEnd="12dp"
|
|
android:paddingStart="12dp"
|
|
android:paddingTop="6dp">
|
|
|
|
<EditText
|
|
android:id="@+id/etSearch"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:hint="@string/search"
|
|
android:importantForAutofill="no"
|
|
android:inputType="text" />
|
|
|
|
<ImageButton
|
|
android:id="@+id/btnSearchReset"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_marginStart="6dp"
|
|
android:background="@drawable/btn_bg_transparent_round6dp"
|
|
android:contentDescription="@string/reset"
|
|
android:src="@drawable/ic_close"
|
|
app:tint="?attr/colorTextContent" />
|
|
|
|
</LinearLayout>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/lvList"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:clipToPadding="false"
|
|
android:divider="@null"
|
|
android:dividerHeight="0dp"
|
|
android:fadeScrollbars="false"
|
|
android:paddingBottom="128dp"
|
|
android:paddingEnd="12dp"
|
|
android:paddingStart="12dp"
|
|
android:paddingTop="12dp"
|
|
android:scrollbarStyle="outsideOverlay"
|
|
android:scrollbars="vertical" />
|
|
</LinearLayout>
|