1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-15 19:27:31 +00:00
BarInsta/app/src/main/res/layout/fragment_user_search.xml

52 lines
2.2 KiB
XML
Raw Normal View History

2021-01-03 09:55:19 +00:00
<?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"
android:focusableInTouchMode="true">
<com.google.android.material.chip.ChipGroup
android:id="@+id/group"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/bg_user_search_input"
android:padding="10dp"
app:layout_constraintBottom_toTopOf="@id/results"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<androidx.appcompat.widget.AppCompatEditText
android:id="@+id/search"
android:layout_width="match_parent"
android:layout_height="48dp"
android:background="@android:color/transparent"
android:gravity="center_vertical"
android:hint="@string/search"
android:importantForAutofill="no"
android:inputType="textNoSuggestions"
android:maxLines="1"
tools:text="test" />
</com.google.android.material.chip.ChipGroup>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/results"
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintBottom_toTopOf="@id/done"
app:layout_constraintTop_toBottomOf="@id/group" />
2021-06-07 02:24:37 +00:00
<androidx.appcompat.widget.AppCompatButton
2021-01-03 09:55:19 +00:00
android:id="@+id/done"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2021-06-07 02:24:37 +00:00
android:backgroundTint="?attr/colorPrimary"
2021-01-03 09:55:19 +00:00
android:text="@string/done"
2021-06-07 02:24:37 +00:00
android:textColor="?attr/colorOnPrimary"
2021-01-03 09:55:19 +00:00
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toBottomOf="@id/results"
2021-06-07 02:24:37 +00:00
tools:layout_editor_absoluteX="8dp"
2021-01-03 09:55:19 +00:00
tools:visibility="visible" />
</androidx.constraintlayout.widget.ConstraintLayout>