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/search_word"
        android:layout_width="match_parent"
        android:layout_height="80dp"
        android:layout_marginTop="60dp" />

    <RadioGroup
        android:id="@+id/SelectButton"
        android:layout_width="wrap_content"
        android:layout_height="80dp"
        android:layout_marginLeft="300dp"
        android:layout_marginTop="60dp"
        android:orientation="vertical">

        <RadioButton
            android:id="@+id/rbTodo"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:text="todo" />

        <RadioButton
            android:id="@+id/rbSchedule"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:checked="true"
            android:text="schedule" />

        <RadioButton
            android:id="@+id/rbBoth"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:text="todoANDschedule" />
    </RadioGroup>

    <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">

    </androidx.recyclerview.widget.RecyclerView>

</FrameLayout>