citygovernance/baselib/src/main/res/layout/dialog_choose_area.xml

144 lines
4.1 KiB
XML
Executable File

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="20dp"
android:background="@drawable/shp_rectangle_white"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp"
android:text="地区选择"
android:textColor="@color/black"
android:textSize="18sp" />
<TextView
android:id="@+id/tv_cur"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:textColor="@color/black"
android:textSize="14sp"
tools:text="当前选择" />
<LinearLayout
style="@style/item_gray"
android:layout_marginTop="5dp">
<ImageView
style="@style/style_hint_star"
android:visibility="visible" />
<TextView
style="@style/item_title"
android:text="省、自治区" />
<View style="@style/vertical_line" />
<TextView
android:id="@+id/tv_area1"
style="@style/sel_text_arrow"
android:hint="请选择省、自治区" />
</LinearLayout>
<LinearLayout style="@style/item_gray">
<ImageView
style="@style/style_hint_star"
android:visibility="visible" />
<TextView
style="@style/item_title"
android:text="盟市、地区" />
<View style="@style/vertical_line" />
<TextView
android:id="@+id/tv_area2"
style="@style/sel_text_arrow"
android:hint="请选择盟市、地区" />
</LinearLayout>
<LinearLayout style="@style/item_gray">
<ImageView
style="@style/style_hint_star"
android:visibility="visible" />
<TextView
style="@style/item_title"
android:text="区、县、旗" />
<View style="@style/vertical_line" />
<TextView
android:id="@+id/tv_area3"
style="@style/sel_text_arrow"
android:hint="请选择区、县、旗" />
</LinearLayout>
<LinearLayout style="@style/item_gray">
<ImageView
style="@style/style_hint_star"
android:visibility="invisible" />
<TextView
style="@style/item_title"
android:text="乡镇街道" />
<View style="@style/vertical_line" />
<TextView
android:id="@+id/tv_area4"
style="@style/sel_text_arrow"
android:hint="请选择乡镇、街道" />
</LinearLayout>
<LinearLayout style="@style/item_gray">
<ImageView
style="@style/style_hint_star"
android:visibility="invisible" />
<TextView
style="@style/item_title"
android:text="村、嘎查" />
<View style="@style/vertical_line" />
<TextView
android:id="@+id/tv_area5"
style="@style/sel_text_arrow"
android:hint="请选择村、嘎查" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:orientation="horizontal">
<Button
android:id="@+id/btn_cancel"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@null"
android:text="取消"
android:textColor="@color/gray_text" />
<Button
android:id="@+id/btn_confirm"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_weight="1"
android:background="@null"
android:text="确定"
android:textColor="@color/text_blue" />
</LinearLayout>
</LinearLayout>