282 lines
13 KiB
XML
282 lines
13 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/gray_f0"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_marginRight="10dp"
|
|
android:layout_marginBottom="70dp"
|
|
android:background="@color/white">
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scrollbars="none">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/gray_f0"
|
|
android:orientation="vertical">
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/white"
|
|
android:orientation="vertical"
|
|
android:paddingTop="10dp"
|
|
android:paddingBottom="10dp">
|
|
|
|
<LinearLayout style="@style/item_hor_content">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="日程内容"
|
|
android:textColor="@color/black"
|
|
android:textSize="14sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:background="@null"
|
|
android:gravity="right"
|
|
android:hint="未录入"
|
|
android:textColor="@color/black"
|
|
android:textSize="14sp" />
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout style="@style/item_hor_content">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="日程类型"
|
|
android:textColor="@color/black"
|
|
android:textSize="14sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_type"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_weight="1"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:gravity="right"
|
|
android:hint="未录入"
|
|
android:textColor="@color/black"
|
|
android:textSize="14sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/item_hor_content">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="通知方式"
|
|
android:textColor="@color/black"
|
|
android:textSize="14sp" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="right"
|
|
android:orientation="horizontal">
|
|
|
|
<CheckBox
|
|
android:id="@+id/cb_notice_inside"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="10dp"
|
|
android:background="@drawable/shape_rectangle_white_gray_border"
|
|
android:button="@null"
|
|
android:drawableLeft="@drawable/sel_checkbox_blue_gray"
|
|
android:drawablePadding="5dp"
|
|
android:enabled="false"
|
|
android:padding="5dp"
|
|
android:text="站内" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/cb_notice_msg"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="10dp"
|
|
android:background="@drawable/shape_rectangle_white_gray_border"
|
|
android:button="@null"
|
|
android:drawableLeft="@drawable/sel_checkbox_blue_gray"
|
|
android:drawablePadding="5dp"
|
|
android:enabled="false"
|
|
android:padding="5dp"
|
|
android:text="短信" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/cb_notice_email"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/shape_rectangle_white_gray_border"
|
|
android:button="@null"
|
|
android:drawableLeft="@drawable/sel_checkbox_blue_gray"
|
|
android:drawablePadding="5dp"
|
|
android:enabled="false"
|
|
android:padding="5dp"
|
|
android:text="邮件" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/item_hor_content">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="开始时间"
|
|
android:textColor="@color/black"
|
|
android:textSize="14sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_start_time"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:gravity="right"
|
|
android:hint="未录入"
|
|
android:textColor="@color/black"
|
|
android:textSize="14sp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/item_hor_content">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="结束时间"
|
|
android:textColor="@color/black"
|
|
android:textSize="14sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_end_time"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:gravity="right"
|
|
android:hint="未录入"
|
|
android:textColor="@color/black"
|
|
android:textSize="14sp" />
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout style="@style/item_hor_content">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="提前提醒"
|
|
android:textColor="@color/black"
|
|
android:textSize="14sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_awoke"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:gravity="right"
|
|
android:hint="未录入"
|
|
android:textColor="@color/black"
|
|
android:textSize="14sp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/item_hor_content">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="是否公开"
|
|
android:textColor="@color/black"
|
|
android:textSize="14sp" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="right"
|
|
android:orientation="horizontal">
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
android:id="@+id/sw_schedule"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/switch_ios_track_selector"
|
|
android:enabled="false"
|
|
android:switchMinWidth="40dp"
|
|
android:switchPadding="0dp"
|
|
android:textOff=""
|
|
android:textOn=""
|
|
app:showText="false"
|
|
app:splitTrack="false"
|
|
app:theme="@style/scstyle"
|
|
app:thumbTint="#00000000"
|
|
app:trackTint="#00000000" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/item_hor_content">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="紧急程度"
|
|
android:textColor="@color/black"
|
|
android:textSize="14sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_level"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:gravity="right"
|
|
android:hint="未录入"
|
|
android:textColor="@color/black"
|
|
android:textSize="14sp" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView>
|
|
</LinearLayout>
|
|
|
|
<Button
|
|
android:id="@+id/btn_del"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_margin="10dp"
|
|
android:background="@drawable/sel_btn_gray_white_round"
|
|
android:text="删除"
|
|
android:textColor="@color/col_white_gray_press" />
|
|
</RelativeLayout> |