boorujelly/app/src/main/res/layout/activity_main.xml

50 lines
1.7 KiB
XML

<?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=".MainActivity">
<Toolbar
android:id="@+id/mainToolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
android:background="@color/design_default_color_primary"
>
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="7.5dp"
app:cardCornerRadius="7.5dp"
tools:layout_editor_absoluteX="16dp"
tools:layout_editor_absoluteY="8dp">
<SearchView
android:id="@+id/search"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:iconifiedByDefault="false"
android:queryBackground="@android:color/transparent"
/>
</androidx.cardview.widget.CardView>
</Toolbar>
<FrameLayout
android:id="@+id/imageGridRecV"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintTop_toBottomOf="@id/mainToolbar"/>
</androidx.constraintlayout.widget.ConstraintLayout>