gridclient/gridmodule/src/main/res/layout/activity_penal_add.xml
2023-05-11 21:35:17 +08:00

193 lines
6.5 KiB
XML

<?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"
android:background="@color/white">
<LinearLayout
android:id="@+id/ll_base_info"
android:layout_width="match_parent"
android:layout_height="50dp"
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:scrollbars="none">
<LinearLayout
android:id="@+id/ll_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
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_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"
android:visibility="visible" />
<TextView
style="@style/item_title"
android:text="案件编号" />
<EditText
android:id="@+id/et_number"
style="@style/item_content"
android:layout_gravity="center_vertical"
android:digits="@string/limit_id_card"
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_start_date"
style="@style/sel_text_arrow"
android:hint="请选择案件发生日期" />
</LinearLayout>
<LinearLayout style="@style/item_white">
<ImageView
style="@style/style_hint_star"
android:visibility="invisible" />
<TextView
style="@style/item_title"
android:text="侦查终结日期" />
<TextView
android:id="@+id/tv_end_date"
style="@style/sel_text_arrow"
android:hint="请选择案件侦查终结日期" />
</LinearLayout>
<LinearLayout style="@style/item_white">
<ImageView
style="@style/style_hint_star"
android:visibility="visible" />
<TextView
style="@style/item_title"
android:text="案发区域" />
<TextView
android:id="@+id/tv_area_5"
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"
android:visibility="invisible" />
<TextView
style="@style/item_title"
android:text="发生地点" />
<EditText
android:id="@+id/et_address"
style="@style/item_content"
android:layout_gravity="center_vertical"
android:hint="请输入案发详细地点"
android:inputType="text" />
</LinearLayout>
<LinearLayout style="@style/item_white_vertical">
<TextView
style="@style/item_title_vertical"
android:text="简要情况" />
<EditText
android:id="@+id/et_desc"
style="@style/item_content_edit"
android:gravity="left"
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="17dp" />
</RelativeLayout>