Some checks failed
Merge core/template-android-project to this repo / merge-if-needed (push) Has been cancelled
51 lines
1.8 KiB
XML
51 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/search_lay"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="60dp"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_marginStart="0dp"
|
|
android:layout_marginEnd="0dp"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/ic_user"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginLeft="5dp"/>
|
|
|
|
<androidx.appcompat.widget.SearchView
|
|
android:id="@+id/search"
|
|
android:layout_width="340dp"
|
|
android:layout_marginStart="5dp"
|
|
android:layout_height="30dp"
|
|
android:layout_gravity="center"
|
|
android:layout_marginEnd="0dp" />
|
|
|
|
</LinearLayout>
|
|
|
|
<ScrollView
|
|
android:layout_width="10dp"
|
|
android:layout_height="10dp"
|
|
android:layout_below="@+id/search_lay"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_marginStart="0dp"
|
|
android:layout_marginEnd="0dp"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_marginBottom="5dp">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/recycler"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"/>
|
|
</ScrollView>
|
|
</RelativeLayout> |