<?xml version="1.0" encoding="utf-8"?>
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:tools="http://schemas.android.com/tools"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
tools:context=".ui.reminderOther.ReminderSettingsFragmentOtherAdd">
|
|
<ScrollView
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:padding="16dp">
|
<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">
|
|
<EditText
|
android:id="@+id/et_special_day_name"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:hint="请输入纪念日名称"
|
android:inputType="text"
|
android:ems="10"
|
android:background="?attr/editTextBackground"/>
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="日子类型"
|
android:textSize="16sp"
|
android:paddingTop="16dp"/>
|
|
<Spinner
|
android:id="@+id/sp_day_type"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:padding="12dp"
|
android:background="@android:drawable/btn_dropdown" />
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="日期"
|
android:textSize="16sp"
|
android:paddingTop="16dp"/>
|
|
<EditText
|
android:id="@+id/et_date"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:hint="选择日期"
|
android:focusable="false"
|
android:clickable="true"
|
android:padding="12dp"
|
android:background="@android:drawable/edit_text"
|
android:textSize="16sp"
|
android:layout_marginBottom="16dp"/>
|
|
|
<TextView
|
android:id="@+id/tv_repeat_cycle"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="重复周期"
|
android:textSize="16sp"
|
android:paddingTop="16dp"
|
android:clickable="true"
|
android:focusable="true"
|
android:textColor="?attr/colorPrimary" />
|
|
<TextView
|
android:id="@+id/tv_selected_cycle"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="选择的重复周期: "
|
android:textSize="16sp"
|
android:paddingTop="8dp"/>
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="提前提醒"
|
android:textSize="16sp"
|
android:paddingTop="16dp"/>
|
|
<!-- 时间选择按钮 -->
|
<EditText
|
android:id="@+id/et_time"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:hint="选择时间"
|
android:focusable="false"
|
android:clickable="true"
|
android:textColor="@android:color/black" />
|
|
|
|
<Button
|
android:id="@+id/btn_save"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="保存"
|
android:layout_marginTop="16dp"/>
|
|
</LinearLayout>
|
</ScrollView>
|
</FrameLayout>
|