<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
<androidx.recyclerview.widget.RecyclerView
|
android:id="@+id/reminderRecyclerView"
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:layout_weight="1"
|
android:padding="16dp" />
|
|
<!-- 设置提醒,保存按钮区域 -->
|
<LinearLayout
|
android:id="@+id/layout_bottom"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_alignParentBottom="true"
|
android:layout_marginBottom="16dp"
|
android:gravity="center"
|
android:orientation="vertical"
|
android:padding="16dp">
|
|
<Button
|
android:id="@+id/addReminderButton"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="8dp"
|
android:backgroundTint="@color/black"
|
android:drawablePadding="8dp"
|
android:padding="12dp"
|
android:text="设置提醒"
|
android:textColor="@android:color/white"
|
android:textSize="18sp" />
|
</LinearLayout>
|
|
</LinearLayout>
|