Newer
Older
CitrusClient / app / src / main / res / layout / fragment_search.xml
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout 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=".views.SearchFragment">

    <!-- TODO: Update blank fragment layout -->
    <TextView
        android:id="@+id/textSearch"
        android:layout_width="match_parent"
        android:layout_height="61dp"
        android:background="#C6F6A9"
        android:gravity="center"
        android:text="検索"
        android:textAlignment="center"
        android:textSize="30sp" />

    <SearchView
        android:id="@+id/publicSearch"
        android:layout_width="match_parent"
        android:layout_height="32dp"
        android:layout_gravity="top"
        android:layout_marginTop="70dp"
        android:iconifiedByDefault="false" />

    <androidx.recyclerview.widget.RecyclerView
        android:id="@+id/public_list"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_gravity="top"
        android:layout_marginTop="140dp" />

</FrameLayout>