<?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"
|
android:padding="16dp">
|
|
<!-- 标题 -->
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="请输入纪念日名称"
|
android:textSize="18sp"
|
android:textColor="#333333"
|
android:layout_marginBottom="16dp"/>
|
|
<!-- 日期选项列表 -->
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical"
|
android:background="#FFFFFF"
|
android:padding="16dp">
|
|
<!-- 日子类型 -->
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal"
|
android:padding="8dp">
|
<TextView
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:text="日子类型"
|
android:textColor="#333333"/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="纪念日 >"
|
android:textColor="#999999"/>
|
</LinearLayout>
|
|
<!-- 日期 -->
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal"
|
android:padding="8dp">
|
<TextView
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:text="日期"
|
android:textColor="#333333"/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="乙巳(2025)七月初七周五 >"
|
android:textColor="#999999"/>
|
</LinearLayout>
|
|
<!-- 重复周期 -->
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal"
|
android:padding="8dp">
|
<TextView
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:text="重复周期"
|
android:textColor="#333333"/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="每年重新倒数 >"
|
android:textColor="#999999"/>
|
</LinearLayout>
|
|
<!-- 提前提醒 -->
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal"
|
android:padding="8dp">
|
<TextView
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:text="提前提醒"
|
android:textColor="#333333"/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="一周 >"
|
android:textColor="#999999"/>
|
</LinearLayout>
|
</LinearLayout>
|
|
<!-- 底部按钮 -->
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal"
|
android:layout_marginTop="32dp">
|
|
<Button
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:text="保存"
|
android:textColor="#FFFFFF"
|
android:background="@drawable/button_blue"
|
android:layout_marginEnd="8dp"/>
|
|
<Button
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:text="重置"
|
android:textColor="#FFFFFF"
|
android:background="@drawable/button_pink"
|
android:layout_marginStart="8dp"/>
|
</LinearLayout>
|
</LinearLayout>
|