<?xml version="1.0" encoding="utf-8"?>
|
<RelativeLayout 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"
|
tools:context="cn.flightfeather.thirdappmodule.activity.NewMonthTaskActivity">
|
|
<include
|
android:id="@+id/actionbar"
|
layout="@layout/layout_actionbar" />
|
|
<ScrollView
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_below="@+id/actionbar">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="@color/lightGray"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:id="@+id/ll_task_name"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="@color/white"
|
android:clickable="true"
|
android:foreground="?android:attr/selectableItemBackground"
|
android:orientation="horizontal"
|
android:padding="16dp">
|
|
<TextView
|
android:id="@+id/textView2"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="@string/task_name"
|
android:textColor="@color/primary_text"
|
android:textSize="@dimen/textSize_16" />
|
|
<TextView
|
android:id="@+id/tv_task_name"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="6dp"
|
android:layout_weight="1"
|
android:gravity="right"
|
android:singleLine="true"
|
android:textSize="@dimen/textSize_16" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_task_type"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="12dp"
|
android:background="@drawable/shap_stroke_bottom"
|
android:clickable="true"
|
android:foreground="?android:attr/selectableItemBackground"
|
android:orientation="horizontal"
|
android:padding="16dp">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="@string/task_type"
|
android:textColor="@color/primary_text"
|
android:textSize="@dimen/textSize_16" />
|
|
<TextView
|
android:id="@+id/tv_task_type"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="6dp"
|
android:layout_weight="1"
|
android:gravity="right"
|
android:singleLine="true"
|
android:textSize="@dimen/textSize_16" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_task_area"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="@drawable/shap_stroke_bottom"
|
android:clickable="true"
|
android:foreground="?android:attr/selectableItemBackground"
|
android:orientation="horizontal"
|
android:padding="16dp">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="@string/task_area"
|
android:textColor="@color/primary_text"
|
android:textSize="@dimen/textSize_16" />
|
|
<TextView
|
android:id="@+id/tv_task_area"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="6dp"
|
android:layout_weight="1"
|
android:gravity="right"
|
android:singleLine="true"
|
android:textSize="@dimen/textSize_16" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_task_deadline_type"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="@drawable/shap_stroke_bottom"
|
android:clickable="true"
|
android:foreground="?android:attr/selectableItemBackground"
|
android:orientation="horizontal"
|
android:padding="16dp">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="@string/task_deadline_type"
|
android:textColor="@color/primary_text"
|
android:textSize="@dimen/textSize_16" />
|
|
<TextView
|
android:id="@+id/tv_task_deadline_type"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="6dp"
|
android:layout_weight="1"
|
android:gravity="right"
|
android:singleLine="true"
|
android:textSize="@dimen/textSize_16" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_task_level"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="@color/white"
|
android:clickable="true"
|
android:foreground="?android:attr/selectableItemBackground"
|
android:orientation="horizontal"
|
android:padding="16dp">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="@string/task_level"
|
android:textColor="@color/primary_text"
|
android:textSize="@dimen/textSize_16" />
|
|
<TextView
|
android:id="@+id/tv_task_level"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="6dp"
|
android:layout_weight="1"
|
android:gravity="right"
|
android:singleLine="true"
|
android:textSize="@dimen/textSize_16" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_task_unfixed_scene"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="@color/white"
|
android:clickable="true"
|
android:foreground="?android:attr/selectableItemBackground"
|
android:orientation="horizontal"
|
android:padding="16dp">
|
|
<CheckBox
|
android:id="@+id/cb_unfixed_scense"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="@string/task_unfixed_scense"
|
android:textSize="@dimen/textSize_16" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_task_start_time"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="12dp"
|
android:background="@drawable/shap_stroke_bottom"
|
android:clickable="true"
|
android:foreground="?android:attr/selectableItemBackground"
|
android:orientation="horizontal"
|
android:padding="16dp">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="@string/task_start_date"
|
android:textColor="@color/primary_text"
|
android:textSize="@dimen/textSize_16" />
|
|
<TextView
|
android:id="@+id/tv_task_start_time"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="6dp"
|
android:layout_weight="1"
|
android:gravity="right"
|
android:singleLine="true"
|
android:textSize="@dimen/textSize_16" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_task_end_time"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="@drawable/shap_stroke_bottom"
|
android:clickable="true"
|
android:foreground="?android:attr/selectableItemBackground"
|
android:orientation="horizontal"
|
android:padding="16dp">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="@string/task_end_date"
|
android:textColor="@color/primary_text"
|
android:textSize="@dimen/textSize_16" />
|
|
<TextView
|
android:id="@+id/tv_task_end_time"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="6dp"
|
android:layout_weight="1"
|
android:gravity="right"
|
android:singleLine="true"
|
android:textSize="@dimen/textSize_16" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_task_executors"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="@color/white"
|
android:clickable="true"
|
android:foreground="?android:attr/selectableItemBackground"
|
android:orientation="horizontal"
|
android:padding="16dp">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="@string/task_executor"
|
android:textColor="@color/primary_text"
|
android:textSize="@dimen/textSize_16" />
|
|
<TextView
|
android:id="@+id/tv_task_executors"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_marginLeft="6dp"
|
android:layout_weight="1"
|
android:gravity="right"
|
android:singleLine="true"
|
android:text="@string/hint_pick_up_executors"
|
android:textSize="@dimen/textSize_16" />
|
</LinearLayout>
|
|
<TextView
|
android:id="@+id/tv_save"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="12dp"
|
android:background="@color/white"
|
android:gravity="center"
|
android:padding="16dp"
|
android:text="@string/save"
|
android:textColor="@color/colorPrimary"
|
android:textSize="@dimen/textSize_16" />
|
|
</LinearLayout>
|
</ScrollView>
|
|
<include
|
android:id="@+id/area_picker"
|
layout="@layout/area_picker"
|
android:visibility="gone" />
|
|
<include
|
android:id="@+id/view_waiting"
|
layout="@layout/layout_waiting"
|
android:visibility="gone" />
|
|
</RelativeLayout>
|