2021-12-28 01:37:07 +05:30
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout 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"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
tools:context=".SearchFragment">
|
|
|
|
|
2022-02-02 18:08:57 +05:30
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:id="@+id/outlinedTextField"
|
|
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
|
android:layout_width="match_parent"
|
2021-12-28 01:37:07 +05:30
|
|
|
android:layout_height="wrap_content"
|
2022-02-02 18:08:57 +05:30
|
|
|
android:layout_margin="20dp"
|
|
|
|
app:hintEnabled="false"
|
|
|
|
app:boxCornerRadiusBottomEnd="20dp"
|
|
|
|
app:boxCornerRadiusBottomStart="20dp"
|
|
|
|
app:boxCornerRadiusTopEnd="20dp"
|
|
|
|
app:boxCornerRadiusTopStart="20dp"
|
2022-01-20 17:28:59 +05:30
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2021-12-28 01:37:07 +05:30
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2022-02-02 18:08:57 +05:30
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
|
|
<AutoCompleteTextView
|
|
|
|
android:id="@+id/autoCompleteTextView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="Search"
|
|
|
|
android:imeOptions="actionSearch"
|
|
|
|
android:inputType="text"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:padding="12dp" />
|
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
|
|
<!-- <com.google.android.material.textfield.MaterialAutoCompleteTextView-->
|
|
|
|
<!-- android:id="@+id/autoCompleteTextView"-->
|
|
|
|
<!-- android:layout_width="0dp"-->
|
|
|
|
<!-- android:layout_height="wrap_content"-->
|
|
|
|
<!-- android:layout_marginTop="7dp"-->
|
|
|
|
<!-- android:hint="@string/search_hint"-->
|
|
|
|
<!-- android:imeOptions="actionSearch"-->
|
|
|
|
<!-- android:inputType="text"-->
|
|
|
|
<!-- android:maxLines="1"-->
|
|
|
|
<!-- android:minHeight="48dp"-->
|
|
|
|
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
|
|
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
|
|
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
2021-12-28 01:37:07 +05:30
|
|
|
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/search_recycler"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
2022-02-02 18:08:57 +05:30
|
|
|
android:layout_margin="10dp"
|
2021-12-28 01:37:07 +05:30
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2022-02-02 18:08:57 +05:30
|
|
|
app:layout_constraintTop_toBottomOf="@+id/outlinedTextField"
|
|
|
|
/>
|
2021-12-28 01:37:07 +05:30
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|