<?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="@dimen/dimen8">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_vertical"
|
android:orientation="horizontal">
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="区域选择"
|
android:textSize="@dimen/textSize_18"
|
android:background="@android:color/white"
|
android:padding="@dimen/dimen6"/>
|
</LinearLayout>
|
<LinearLayout
|
android:id="@+id/ll_container"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
android:background="@color/addTaskBG"
|
android:orientation="horizontal">
|
|
<LinearLayout
|
android:id="@+id/city_llcontainer"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:padding="@dimen/dimen6"
|
android:gravity="center_horizontal"
|
android:orientation="horizontal">
|
|
<Spinner
|
android:id="@+id/SP_province"
|
style="@style/Widget.AppCompat.Light.Spinner.DropDown.ActionBar"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
</Spinner>
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/district_llcontainer"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:padding="@dimen/dimen6"
|
android:gravity="center_horizontal"
|
android:orientation="horizontal">
|
|
<Spinner
|
android:id="@+id/SP_city"
|
style="@style/Widget.AppCompat.Light.Spinner.DropDown.ActionBar"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
</Spinner>
|
</LinearLayout>
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_container2"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center_vertical"
|
android:background="@color/addTaskBG"
|
android:orientation="horizontal">
|
<LinearLayout
|
android:id="@+id/street_llcontainer"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:padding="@dimen/dimen6"
|
android:gravity="center_horizontal"
|
android:orientation="horizontal">
|
|
<Spinner
|
android:id="@+id/SP_district"
|
style="@style/Widget.AppCompat.Light.Spinner.DropDown.ActionBar"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
</Spinner>
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/date_llcontainer"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:padding="@dimen/dimen6"
|
android:gravity="center_horizontal"
|
android:orientation="horizontal">
|
|
<Spinner
|
android:id="@+id/SP_town"
|
style="@style/Widget.AppCompat.Light.Spinner.DropDown.ActionBar"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
</Spinner>
|
</LinearLayout>
|
</LinearLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1dp"
|
android:background="#bcbcbc" />
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_vertical"
|
android:orientation="horizontal">
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="时间选择"
|
android:textSize="@dimen/textSize_18"
|
android:background="@android:color/white"
|
android:padding="@dimen/dimen6"/>
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_vertical"
|
android:background="@color/addTaskBG"
|
android:orientation="horizontal">
|
|
<TextView
|
android:id="@+id/TV_quick_choose"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:background="@drawable/selector_tab_progress"
|
android:clickable="true"
|
android:gravity="center"
|
android:padding="@dimen/dimen8"
|
android:text="快速选择"
|
android:textColor="@color/white"
|
android:textSize="@dimen/textSize_18" />
|
|
<TextView
|
android:id="@+id/TV_any_time"
|
android:clickable="true"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:text="任意时段"
|
android:textColor="@color/black"
|
android:gravity="center"
|
android:textSize="@dimen/textSize_18"
|
android:background="@drawable/selector_tab_progress"
|
android:padding="@dimen/dimen8"/>
|
</LinearLayout>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1dp"
|
android:background="#bcbcbc" />
|
<android.support.v7.widget.RecyclerView
|
android:id="@+id/RV_quick_choose"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="@color/addTaskBG">
|
</android.support.v7.widget.RecyclerView>
|
|
<LinearLayout
|
android:id="@+id/LL_any_time"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_vertical"
|
android:background="@color/addTaskBG"
|
android:orientation="horizontal"
|
android:paddingTop="12dp"
|
android:paddingBottom="12dp">
|
<TextView
|
android:id="@+id/TV_start_time"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:text="2018年1月1日"
|
android:gravity="center"
|
android:textSize="@dimen/textSize_18"
|
android:background="@drawable/selector_tab_progress"
|
android:padding="@dimen/dimen6"/>
|
<TextView
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="0.2"
|
android:text="--"
|
android:singleLine="true"
|
android:gravity="center"
|
android:textSize="@dimen/textSize_18"
|
android:background="@android:color/white"
|
android:padding="@dimen/dimen6"/>
|
<TextView
|
android:id="@+id/TV_end_time"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:text="2018年1月31日"
|
android:gravity="center"
|
android:textSize="@dimen/textSize_18"
|
android:background="@drawable/selector_tab_progress"
|
android:padding="@dimen/dimen6"/>
|
</LinearLayout>
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1dp"
|
android:background="#bcbcbc" />
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<TextView
|
android:id="@+id/btn_cancel"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:background="@android:color/white"
|
android:foreground="?android:attr/selectableItemBackground"
|
android:gravity="center"
|
android:text="取消"
|
android:padding="14dp"
|
android:textColor="@android:color/black" />
|
|
<TextView
|
android:id="@+id/btn_ok"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:foreground="?android:attr/selectableItemBackground"
|
android:layout_weight="1"
|
android:background="#40a1f6"
|
android:gravity="center"
|
android:text="确认"
|
android:padding="14dp"
|
android:textColor="@android:color/white" />
|
</LinearLayout>
|
|
<ImageView
|
android:layout_width="match_parent"
|
android:layout_height="6dp"
|
android:src="@drawable/shadow"
|
android:scaleType="fitXY"
|
/>
|
|
</LinearLayout>
|