|
|
|
@ -10,12 +10,23 @@
|
|
|
|
android:id="@+id/toolbarView"
|
|
|
|
android:id="@+id/toolbarView"
|
|
|
|
layout="@layout/layout_base" />
|
|
|
|
layout="@layout/layout_base" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ScrollView
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="#dddddd"
|
|
|
|
android:background="#dddddd"
|
|
|
|
android:padding="3dp"
|
|
|
|
android:minHeight="12dp"
|
|
|
|
android:minHeight="12dp">
|
|
|
|
android:padding="3dp">
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
@ -24,6 +35,7 @@
|
|
|
|
android:minHeight="25dp"
|
|
|
|
android:minHeight="25dp"
|
|
|
|
android:text="开始时间:"
|
|
|
|
android:text="开始时间:"
|
|
|
|
android:textSize="18sp" />
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tv_st"
|
|
|
|
android:id="@+id/tv_st"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
@ -32,16 +44,18 @@
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:minHeight="25dp"
|
|
|
|
android:minHeight="25dp"
|
|
|
|
android:textColor="@color/colorPrimaryDark"
|
|
|
|
|
|
|
|
android:text=""
|
|
|
|
android:text=""
|
|
|
|
|
|
|
|
android:textColor="@color/colorPrimaryDark"
|
|
|
|
android:textSize="18sp" />
|
|
|
|
android:textSize="18sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="#dddddd"
|
|
|
|
android:background="#dddddd"
|
|
|
|
android:padding="3dp"
|
|
|
|
android:minHeight="12dp"
|
|
|
|
android:minHeight="12dp">
|
|
|
|
android:padding="3dp">
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
@ -50,6 +64,7 @@
|
|
|
|
android:minHeight="25dp"
|
|
|
|
android:minHeight="25dp"
|
|
|
|
android:text="结束时间:"
|
|
|
|
android:text="结束时间:"
|
|
|
|
android:textSize="18sp" />
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tv_et"
|
|
|
|
android:id="@+id/tv_et"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
@ -58,17 +73,19 @@
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:minHeight="25dp"
|
|
|
|
android:minHeight="25dp"
|
|
|
|
android:textColor="@color/colorPrimaryDark"
|
|
|
|
|
|
|
|
android:text=""
|
|
|
|
android:text=""
|
|
|
|
|
|
|
|
android:textColor="@color/colorPrimaryDark"
|
|
|
|
android:textSize="18sp" />
|
|
|
|
android:textSize="18sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="#dddddd"
|
|
|
|
android:background="#dddddd"
|
|
|
|
android:padding="3dp"
|
|
|
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:minHeight="30px">
|
|
|
|
android:minHeight="30px"
|
|
|
|
|
|
|
|
android:padding="3dp">
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
@ -77,13 +94,17 @@
|
|
|
|
android:minHeight="25dp"
|
|
|
|
android:minHeight="25dp"
|
|
|
|
android:text="风险等级:"
|
|
|
|
android:text="风险等级:"
|
|
|
|
android:textSize="18sp" />
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="80dp"
|
|
|
|
android:layout_height="80dp"
|
|
|
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
|
|
|
android:layout_marginEnd="5dp"
|
|
|
|
android:gravity="center"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical">
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="300dp"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
android:orientation="horizontal">
|
|
|
|
@ -121,10 +142,10 @@
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="300dp"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
<RadioButton
|
|
|
|
@ -160,13 +181,15 @@
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="#dddddd"
|
|
|
|
android:background="#dddddd"
|
|
|
|
android:padding="3dp"
|
|
|
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:minHeight="12dp">
|
|
|
|
android:minHeight="12dp"
|
|
|
|
|
|
|
|
android:padding="3dp">
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
@ -174,10 +197,11 @@
|
|
|
|
android:layout_marginTop="3dp"
|
|
|
|
android:layout_marginTop="3dp"
|
|
|
|
android:layout_marginBottom="3dp"
|
|
|
|
android:layout_marginBottom="3dp"
|
|
|
|
android:gravity="center"
|
|
|
|
android:gravity="center"
|
|
|
|
android:visibility="invisible"
|
|
|
|
|
|
|
|
android:minHeight="25dp"
|
|
|
|
android:minHeight="25dp"
|
|
|
|
android:text="专业"
|
|
|
|
android:text="专业"
|
|
|
|
android:textSize="18sp" />
|
|
|
|
android:textSize="18sp"
|
|
|
|
|
|
|
|
android:visibility="invisible" />
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
@ -187,24 +211,28 @@
|
|
|
|
android:minHeight="25dp"
|
|
|
|
android:minHeight="25dp"
|
|
|
|
android:text="专业:"
|
|
|
|
android:text="专业:"
|
|
|
|
android:textSize="18sp" />
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/spinner_zy"
|
|
|
|
android:id="@+id/spinner_zy"
|
|
|
|
style="@style/editTextTheme"
|
|
|
|
style="@style/spriner_first"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_margin="3dp"
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="center"
|
|
|
|
android:gravity="center"
|
|
|
|
android:padding="5dp"
|
|
|
|
android:padding="5dp"
|
|
|
|
android:textSize="18sp" />
|
|
|
|
android:textSize="18sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="#dddddd"
|
|
|
|
android:background="#dddddd"
|
|
|
|
android:padding="3dp"
|
|
|
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:minHeight="30px">
|
|
|
|
android:minHeight="30px"
|
|
|
|
|
|
|
|
android:padding="3dp">
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
@ -213,16 +241,19 @@
|
|
|
|
android:minHeight="25dp"
|
|
|
|
android:minHeight="25dp"
|
|
|
|
android:text="工作内容:"
|
|
|
|
android:text="工作内容:"
|
|
|
|
android:textSize="18sp" />
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical">
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="120dp"
|
|
|
|
android:layout_height="120dp"
|
|
|
|
android:layout_margin="10dp"
|
|
|
|
android:layout_margin="10dp"
|
|
|
|
android:gravity="center">
|
|
|
|
android:gravity="center">
|
|
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/et_ms"
|
|
|
|
android:id="@+id/et_ms"
|
|
|
|
style="@style/editTextTheme"
|
|
|
|
style="@style/editTextTheme"
|
|
|
|
@ -235,38 +266,43 @@
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<include
|
|
|
|
<include
|
|
|
|
android:id="@+id/item_head"
|
|
|
|
android:id="@+id/item_head"
|
|
|
|
layout="@layout/item_work_risk_list_tip_head"
|
|
|
|
layout="@layout/item_work_risk_list_tip_head"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
android:layout_marginEnd="5dp"
|
|
|
|
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
android:layout_marginEnd="5dp" />
|
|
|
|
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
android:layout_marginEnd="5dp"
|
|
|
|
android:layout_marginEnd="5dp"
|
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
android:layout_marginBottom="5dp">
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
android:orientation="vertical">
|
|
|
|
<ListView
|
|
|
|
|
|
|
|
|
|
|
|
<com.rehome.zhdcoa.weiget.ListViewForScrollView
|
|
|
|
android:id="@+id/lv"
|
|
|
|
android:id="@+id/lv"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:divider="#00000000"
|
|
|
|
android:divider="#00000000"
|
|
|
|
android:dividerHeight="0px" />
|
|
|
|
android:dividerHeight="0px" />
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="#dddddd"
|
|
|
|
android:background="#dddddd"
|
|
|
|
android:padding="3dp"
|
|
|
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:minHeight="12dp">
|
|
|
|
android:minHeight="12dp"
|
|
|
|
|
|
|
|
android:padding="3dp">
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<TextView
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
@ -288,19 +324,23 @@
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="50dp"
|
|
|
|
android:layout_height="50dp"
|
|
|
|
android:background="@color/colorPrimary"
|
|
|
|
android:background="@color/colorPrimary"
|
|
|
|
android:orientation="vertical">
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tv_submit"
|
|
|
|
android:id="@+id/tv_submit"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
|
|
|
android:gravity="center"
|
|
|
|
android:gravity="center"
|
|
|
|
android:textSize="18sp"
|
|
|
|
android:text="提交"
|
|
|
|
android:text="提交"/>
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</ScrollView>
|
|
|
|
|
|
|
|
</LinearLayout>
|