|
|
|
|
@ -10,297 +10,337 @@
|
|
|
|
|
android:id="@+id/toolbarView"
|
|
|
|
|
layout="@layout/layout_base" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
<ScrollView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="#dddddd"
|
|
|
|
|
android:padding="3dp"
|
|
|
|
|
android:minHeight="12dp">
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="3dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:minHeight="25dp"
|
|
|
|
|
android:text="开始时间:"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_st"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="3dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:minHeight="25dp"
|
|
|
|
|
android:textColor="@color/colorPrimaryDark"
|
|
|
|
|
android:text=""
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="#dddddd"
|
|
|
|
|
android:padding="3dp"
|
|
|
|
|
android:minHeight="12dp">
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="3dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:minHeight="25dp"
|
|
|
|
|
android:text="结束时间:"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_et"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="3dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:minHeight="25dp"
|
|
|
|
|
android:textColor="@color/colorPrimaryDark"
|
|
|
|
|
android:text=""
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="#dddddd"
|
|
|
|
|
android:padding="3dp"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:minHeight="30px">
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="3dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:minHeight="25dp"
|
|
|
|
|
android:text="风险等级:"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="80dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="300dp"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
android:background="#dddddd"
|
|
|
|
|
android:minHeight="12dp"
|
|
|
|
|
android:padding="3dp">
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb1"
|
|
|
|
|
style="@style/Widget.AppCompat.CompoundButton.RadioButton"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:checked="true"
|
|
|
|
|
android:text="A"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:layout_margin="3dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:minHeight="25dp"
|
|
|
|
|
android:text="开始时间:"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb2"
|
|
|
|
|
style="@style/Widget.AppCompat.CompoundButton.RadioButton"
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_st"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="3dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:text="B"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:minHeight="25dp"
|
|
|
|
|
android:text=""
|
|
|
|
|
android:textColor="@color/colorPrimaryDark"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="#dddddd"
|
|
|
|
|
android:minHeight="12dp"
|
|
|
|
|
android:padding="3dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="3dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:minHeight="25dp"
|
|
|
|
|
android:text="结束时间:"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb3"
|
|
|
|
|
style="@style/Widget.AppCompat.CompoundButton.RadioButton"
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_et"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="3dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:text="C1"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:minHeight="25dp"
|
|
|
|
|
android:text=""
|
|
|
|
|
android:textColor="@color/colorPrimaryDark"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="300dp"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
android:background="#dddddd"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:minHeight="30px"
|
|
|
|
|
android:padding="3dp">
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb4"
|
|
|
|
|
style="@style/Widget.AppCompat.CompoundButton.RadioButton"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:text="C2"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:layout_margin="3dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:minHeight="25dp"
|
|
|
|
|
android:text="风险等级:"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb5"
|
|
|
|
|
style="@style/Widget.AppCompat.CompoundButton.RadioButton"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="80dp"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:layout_marginEnd="5dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb1"
|
|
|
|
|
style="@style/Widget.AppCompat.CompoundButton.RadioButton"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:checked="true"
|
|
|
|
|
android:text="A"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb2"
|
|
|
|
|
style="@style/Widget.AppCompat.CompoundButton.RadioButton"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:text="B"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb3"
|
|
|
|
|
style="@style/Widget.AppCompat.CompoundButton.RadioButton"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:text="C1"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb4"
|
|
|
|
|
style="@style/Widget.AppCompat.CompoundButton.RadioButton"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:text="C2"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb5"
|
|
|
|
|
style="@style/Widget.AppCompat.CompoundButton.RadioButton"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:text="C3"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb6"
|
|
|
|
|
style="@style/Widget.AppCompat.CompoundButton.RadioButton"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:text="低风险"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="#dddddd"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:minHeight="12dp"
|
|
|
|
|
android:padding="3dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:text="C3"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:layout_marginStart="3dp"
|
|
|
|
|
android:layout_marginTop="3dp"
|
|
|
|
|
android:layout_marginBottom="3dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:minHeight="25dp"
|
|
|
|
|
android:text="专业"
|
|
|
|
|
android:textSize="18sp"
|
|
|
|
|
android:visibility="invisible" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="3dp"
|
|
|
|
|
android:layout_marginBottom="3dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:minHeight="25dp"
|
|
|
|
|
android:text="专业:"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb6"
|
|
|
|
|
style="@style/Widget.AppCompat.CompoundButton.RadioButton"
|
|
|
|
|
<Spinner
|
|
|
|
|
android:id="@+id/spinner_zy"
|
|
|
|
|
style="@style/spriner_first"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
|
android:layout_marginEnd="10dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:text="低风险"
|
|
|
|
|
android:textColor="#666666"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:padding="5dp"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="#dddddd"
|
|
|
|
|
android:padding="3dp"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:minHeight="12dp">
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="3dp"
|
|
|
|
|
android:layout_marginTop="3dp"
|
|
|
|
|
android:layout_marginBottom="3dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:visibility="invisible"
|
|
|
|
|
android:minHeight="25dp"
|
|
|
|
|
android:text="专业"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="3dp"
|
|
|
|
|
android:layout_marginBottom="3dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:minHeight="25dp"
|
|
|
|
|
android:text="专业:"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
<Spinner
|
|
|
|
|
android:id="@+id/spinner_zy"
|
|
|
|
|
style="@style/editTextTheme"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="3dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:padding="5dp"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="#dddddd"
|
|
|
|
|
android:padding="3dp"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:minHeight="30px">
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="3dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:minHeight="25dp"
|
|
|
|
|
android:text="工作内容:"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="120dp"
|
|
|
|
|
android:layout_margin="10dp"
|
|
|
|
|
android:gravity="center">
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/et_ms"
|
|
|
|
|
style="@style/editTextTheme"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="110dp"
|
|
|
|
|
android:gravity="top|start"
|
|
|
|
|
android:inputType="textMultiLine"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="#dddddd"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:minHeight="30px"
|
|
|
|
|
android:padding="3dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="3dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:minHeight="25dp"
|
|
|
|
|
android:text="工作内容:"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="120dp"
|
|
|
|
|
android:layout_margin="10dp"
|
|
|
|
|
android:gravity="center">
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/et_ms"
|
|
|
|
|
style="@style/editTextTheme"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="110dp"
|
|
|
|
|
android:gravity="top|start"
|
|
|
|
|
android:inputType="textMultiLine"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<include
|
|
|
|
|
android:id="@+id/item_head"
|
|
|
|
|
layout="@layout/item_work_risk_list_tip_head"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:layout_marginEnd="5dp"
|
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
<FrameLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:layout_marginEnd="5dp"
|
|
|
|
|
android:layout_marginBottom="5dp"
|
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
<ListView
|
|
|
|
|
android:id="@+id/lv"
|
|
|
|
|
<include
|
|
|
|
|
android:id="@+id/item_head"
|
|
|
|
|
layout="@layout/item_work_risk_list_tip_head"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:divider="#00000000"
|
|
|
|
|
android:dividerHeight="0px"/>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
|
android:layout_marginEnd="5dp" />
|
|
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="#dddddd"
|
|
|
|
|
android:padding="3dp"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:minHeight="12dp">
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:layout_marginEnd="5dp"
|
|
|
|
|
android:layout_marginBottom="5dp">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="3dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:gravity="center|end"
|
|
|
|
|
android:minHeight="25dp"
|
|
|
|
|
android:text="危害后果及防范措施"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<com.rehome.zhdcoa.weiget.ListViewForScrollView
|
|
|
|
|
android:id="@+id/lv"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:divider="#00000000"
|
|
|
|
|
android:dividerHeight="0px" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:background="#dddddd"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:minHeight="12dp"
|
|
|
|
|
android:padding="3dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="3dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:gravity="center|end"
|
|
|
|
|
android:minHeight="25dp"
|
|
|
|
|
android:text="危害后果及防范措施"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/iv_add"
|
|
|
|
|
android:layout_width="60dp"
|
|
|
|
|
android:layout_height="30dp"
|
|
|
|
|
android:layout_margin="3dp"
|
|
|
|
|
android:contentDescription="addicon"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:src="@drawable/add_gray" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="50dp"
|
|
|
|
|
android:background="@color/colorPrimary"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_submit"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="提交"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/iv_add"
|
|
|
|
|
android:layout_width="60dp"
|
|
|
|
|
android:layout_height="30dp"
|
|
|
|
|
android:layout_margin="3dp"
|
|
|
|
|
android:contentDescription="addicon"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:src="@drawable/add_gray" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="50dp"
|
|
|
|
|
android:background="@color/colorPrimary"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_submit"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:textSize="18sp"
|
|
|
|
|
android:text="提交"/>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</ScrollView>
|
|
|
|
|
</LinearLayout>
|