teapod/app/src/main/res/layout/fragment_search.xml

35 lines
1.3 KiB
XML
Raw Normal View History

2020-10-08 22:20:20 +02: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:background="#f5f5f5"
2020-10-08 22:20:20 +02:00
tools:context=".ui.search.SearchFragment">
2020-10-11 18:07:00 +02:00
<SearchView
android:id="@+id/search_text"
2020-10-08 22:20:20 +02:00
android:layout_width="match_parent"
android:layout_height="0dp"
2020-10-11 18:07:00 +02:00
android:iconifiedByDefault="false"
android:paddingBottom="5dp"
android:queryHint="@string/search_hint"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
</SearchView>
<GridView
android:id="@+id/grid_media_search"
2020-10-11 18:07:00 +02:00
android:layout_width="match_parent"
android:layout_height="0dp"
android:clipToPadding="false"
android:horizontalSpacing="7dp"
android:numColumns="2"
android:padding="5dp"
android:verticalSpacing="7dp"
2020-10-08 22:20:20 +02:00
app:layout_constraintBottom_toBottomOf="parent"
2020-10-11 18:07:00 +02:00
app:layout_constraintTop_toBottomOf="@+id/search_text" />
2020-10-08 22:20:20 +02:00
</androidx.constraintlayout.widget.ConstraintLayout>