gridclient/gridmodule/src/main/res/layout/activity_community_area_add.xml

218 lines
7.6 KiB
XML
Raw Normal View History

2022-03-25 15:24:43 +08:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/ll_base_info"
android:layout_width="match_parent"
android:layout_height="80dp"
android:background="@drawable/shape_blue_bg"
android:orientation="vertical"
android:padding="20dp">
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/ll_base_info"
android:layout_marginTop="-20dp"
android:layout_marginBottom="48dp"
android:background="@drawable/shape_rectangle_white_top">
<androidx.core.widget.NestedScrollView
android:id="@+id/nsv_content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="20dp"
android:orientation="vertical"
android:overScrollMode="never"
android:scrollbars="none">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout style="@style/item_white">
<ImageView
style="@style/style_hint_star"
android:visibility="visible" />
<TextView
style="@style/item_title"
android:text="社区名称" />
<EditText
android:id="@+id/et_community_name"
style="@style/item_content"
android:layout_gravity="center_vertical"
android:hint="请输入社区名称"
android:inputType="text" />
</LinearLayout>
<LinearLayout style="@style/item_white">
<ImageView style="@style/style_hint_star" />
<TextView
style="@style/item_title"
android:text="所在地区" />
<TextView
android:id="@+id/tv_area"
style="@style/sel_text_arrow"
android:hint="请选择所在地区" />
</LinearLayout>
<LinearLayout style="@style/item_white">
<ImageView style="@style/style_hint_star" />
<TextView
style="@style/item_title"
android:text="所在网格" />
<TextView
android:id="@+id/tv_grid"
style="@style/sel_text_arrow"
android:hint="请选择所在网格" />
</LinearLayout>
<LinearLayout style="@style/item_white">
<ImageView style="@style/style_hint_star" />
<TextView
style="@style/item_title"
android:text="位置坐标" />
<TextView
android:id="@+id/tv_location"
style="@style/sel_text_arrow"
android:hint="请选择所在位置坐标" />
</LinearLayout>
<LinearLayout style="@style/item_gray_vertical_top">
<com.baidu.mapapi.map.TextureMapView
android:id="@+id/tmv_map"
android:layout_width="match_parent"
android:layout_height="200dp" />
</LinearLayout>
<LinearLayout style="@style/item_white">
<ImageView
style="@style/style_hint_star"
android:visibility="visible" />
<TextView
style="@style/item_title"
android:text="详细地址" />
<EditText
android:id="@+id/et_community_address"
style="@style/item_content"
android:layout_gravity="center_vertical"
android:hint="请输入详细地址"
android:inputType="text" />
</LinearLayout>
<LinearLayout style="@style/item_white">
<ImageView
style="@style/style_hint_star"
android:visibility="visible" />
<TextView
style="@style/item_title"
android:text="社区负责人" />
<EditText
android:id="@+id/et_master"
style="@style/item_content"
android:layout_gravity="center_vertical"
android:hint="请输入社区负责人"
android:inputType="text" />
</LinearLayout>
<LinearLayout style="@style/item_white">
<ImageView
style="@style/style_hint_star"
android:visibility="visible" />
<TextView
style="@style/item_title"
android:text="负责人电话" />
<EditText
android:id="@+id/et_master_phone"
style="@style/item_content"
android:layout_gravity="center_vertical"
android:digits="@string/limit_phone"
android:hint="请输入社区负责人联系电话"
android:inputType="text" />
</LinearLayout>
<LinearLayout style="@style/item_white">
<ImageView
style="@style/style_hint_star"
android:visibility="visible" />
<TextView
style="@style/item_title"
android:text="社区联系方式" />
<EditText
android:id="@+id/et_ink_phone"
style="@style/item_content"
android:layout_gravity="center_vertical"
android:digits="@string/limit_phone"
android:hint="请输入社区联系方式" />
</LinearLayout>
<LinearLayout style="@style/item_white_vertical">
<TextView
style="@style/item_title_vertical"
android:text="备注" />
<EditText
android:id="@+id/et_remark"
style="@style/item_content_edit"
android:layout_gravity="center_vertical"
android:hint="请输入备注信息"
android:minLines="3" />
</LinearLayout>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</LinearLayout>
<Button
android:id="@+id/btn_confirm"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:background="@drawable/sel_btn_submit"
android:minHeight="0dp"
android:padding="10dp"
android:text="保&#160;&#160;&#160;&#160;存"
android:textColor="@color/white"
android:textSize="17sp" />
</RelativeLayout>