citygovernance/gridmodule/src/main/res/layout/activity_school_case_add.xml

361 lines
14 KiB
XML
Raw Normal View History

2021-10-26 19:39:03 +08:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<androidx.core.widget.NestedScrollView
android:id="@+id/nsv_content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:overScrollMode="never"
android:scrollbars="none">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"
app:cardCornerRadius="5dp"
app:cardPreventCornerOverlap="true"
app:cardUseCompatPadding="false">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
style="@style/issue_report_title"
android:padding="8dp"
android:text="案(事)件信息"
android:textStyle="bold" />
<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" />
<EditText
android:id="@+id/et_number"
style="@style/item_content"
android:layout_gravity="center_vertical"
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" />
<EditText
android:id="@+id/et_name"
style="@style/item_content"
android:layout_gravity="center_vertical"
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_date"
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_area"
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" />
<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_gray">
<ImageView style="@style/style_hint_star" />
<TextView
style="@style/item_title"
android:text="案(事)件性质" />
<View style="@style/vertical_line" />
<TextView
android:id="@+id/tv_nature_type"
style="@style/sel_text_arrow"
android:hint="请选择案(事)件性质" />
</LinearLayout>
<LinearLayout style="@style/item_gray_vertical">
<TextView
style="@style/item_title_vertical"
android:drawableLeft="@drawable/ic_start_hint"
android:text="案(事)件情况" />
<EditText
android:id="@+id/et_info"
style="@style/item_content_edit"
android:hint="请输入案(事)件情况"
android:minLines="3" />
</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_card_type"
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" />
<EditText
android:id="@+id/et_card_number"
style="@style/item_content"
android:layout_gravity="center_vertical"
android:digits="@string/limit_id_card"
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" />
<EditText
android:id="@+id/et_crimianl_name"
style="@style/item_content"
android:layout_gravity="center_vertical"
android:hint="请输入主犯(嫌疑人)姓名" />
</LinearLayout>
<LinearLayout style="@style/item_gray">
<ImageView style="@style/style_hint_star" />
<TextView
style="@style/item_title"
android:layout_gravity="center_vertical"
android:text="是否破案" />
<View style="@style/vertical_line" />
<RelativeLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1">
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/sw_is_crack"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:background="@drawable/switch_ios_track_selector"
android:switchMinWidth="40dp"
android:switchPadding="0dp"
android:textOff=""
android:textOn=""
app:showText="false"
app:splitTrack="false"
app:theme="@style/scstyle"
app:thumbTint="#00000000"
app:trackTint="#00000000" />
</RelativeLayout>
</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" />
<EditText
android:id="@+id/et_offence_count"
style="@style/item_content"
android:layout_gravity="center_vertical"
android:hint="请输入作案人数"
android:inputType="number" />
</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" />
<EditText
android:id="@+id/et_flee_count"
style="@style/item_content"
android:layout_gravity="center_vertical"
android:hint="请输入在逃人数"
android:inputType="number" />
</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" />
<EditText
android:id="@+id/et_catch_count"
style="@style/item_content"
android:layout_gravity="center_vertical"
android:hint="请输入抓捕人数"
android:inputType="number" />
</LinearLayout>
<LinearLayout style="@style/item_gray_vertical">
<TextView
style="@style/item_title_vertical"
android:drawableLeft="@drawable/ic_start_hint"
android:text="案件侦破情况" />
<EditText
android:id="@+id/et_detect"
style="@style/item_content_edit"
android:hint="请输入案(事)件侦破情况"
android:minLines="3" />
</LinearLayout>
</LinearLayout>
</androidx.cardview.widget.CardView>
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:layout_marginTop="10dp"
android:layout_marginRight="15dp"
android:layout_marginBottom="10dp"
app:cardCornerRadius="10dp"
app:cardPreventCornerOverlap="true"
app:cardUseCompatPadding="false">
<Button
android:id="@+id/btn_submit"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/sel_btn_submit"
android:text="保存"
android:textColor="@color/white"
android:textSize="18sp" />
</androidx.cardview.widget.CardView>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</RelativeLayout>