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"
|
2022-02-15 00:23:01 +05:30
|
|
|
tools:context=".SearchFragment"
|
2022-03-05 14:04:02 +05:30
|
|
|
android:focusable="true"
|
|
|
|
android:focusableInTouchMode="true"
|
2022-02-15 00:23:01 +05:30
|
|
|
>
|
2021-12-28 01:37:07 +05:30
|
|
|
|
2022-02-15 00:23:01 +05:30
|
|
|
<com.google.android.material.card.MaterialCardView
|
2022-02-02 18:08:57 +05:30
|
|
|
android:layout_width="match_parent"
|
2021-12-28 01:37:07 +05:30
|
|
|
android:layout_height="wrap_content"
|
2022-02-15 00:23:01 +05:30
|
|
|
android:id="@+id/outlinedTextField"
|
|
|
|
style="@style/Widget.Material3.CardView.Filled"
|
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-15 00:23:01 +05:30
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
android:layout_margin="5dp"
|
|
|
|
>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
2022-02-02 18:08:57 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-02-15 00:23:01 +05:30
|
|
|
app:hintEnabled="false"
|
|
|
|
android:layout_marginRight="20dp"
|
|
|
|
android:layout_marginLeft="20dp"
|
|
|
|
android:background="@android:color/transparent"
|
|
|
|
>
|
|
|
|
|
|
|
|
<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:background="@android:color/transparent"
|
|
|
|
android:padding="12dp" />
|
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
|
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>
|