Newer
Older
CitrusClient / app / src / main / res / layout / fragment_my_bookshelf_fragment.xml
k-sakoda on 18 Jul 1 KB 微調整
<?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"
    android:background="#80EFFFE6"
    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="50dp"
        android:clickable="true"
        android:src="@drawable/baseline_add_24"
        app:backgroundTint="#FFFFFF" />

    <TextView
        android:id="@+id/textView2"
        android:layout_width="match_parent"
        android:layout_height="61dp"
        android:background="#f7f7f7"
        android:gravity="center"
        android:text="My本棚"
        android:textAlignment="center"
        android:textColor="#747679"
        android:textSize="30sp" />

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

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

</FrameLayout>