<?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.MyBookshelfFragment"> <com.google.android.material.floatingactionbutton.FloatingActionButton android:id="@+id/book_add_button" android:layout_width="322dp" android:layout_height="wrap_content" android:layout_gravity="bottom|right" android:layout_marginRight="30dp" android:layout_marginBottom="100dp" android:clickable="true" android:src="@drawable/baseline_add_24" /> <TextView android:id="@+id/textView2" android:layout_width="match_parent" android:layout_height="61dp" android:layout_marginTop="70dp" android:background="#C6F6A9" android:gravity="center" android:text="My本棚" android:textAlignment="center" android:textSize="30sp" /> <SearchView android:id="@+id/searchView" android:layout_width="match_parent" android:layout_height="32dp" android:layout_marginTop="140dp" android:iconifiedByDefault="false" /> <androidx.recyclerview.widget.RecyclerView android:id="@+id/my_books_list" android:layout_width="match_parent" android:layout_height="397dp" android:layout_gravity="bottom" android:layout_marginTop="1dp" android:layout_marginBottom="80dp" /> </FrameLayout>