|
@@ -5,105 +5,202 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:orientation="vertical"
|
|
|
+ <android.support.v4.widget.NestedScrollView
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
-
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_above="@+id/ll_stop"
|
|
|
+ >
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:paddingTop="@dimen/sp_16"
|
|
|
- android:paddingLeft="@dimen/sp_16"
|
|
|
- android:paddingRight="@dimen/sp_16"
|
|
|
- android:orientation="horizontal"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- <TextView
|
|
|
- style="@style/inputItemCaption"
|
|
|
- android:textColor="@color/red"
|
|
|
- android:text="设备">
|
|
|
- </TextView>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
<LinearLayout
|
|
|
- android:layout_weight="1"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:background="@drawable/bg_line_edittext">
|
|
|
- <com.uas.hystorage.view.ClearableEditText
|
|
|
- android:id="@+id/storage_recharge_collect_ets"
|
|
|
- style="@style/EditTextStyle"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingTop="@dimen/sp_16"
|
|
|
+ android:paddingRight="@dimen/sp_16">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ style="@style/inputItemCaption"
|
|
|
+ android:text="设备"
|
|
|
+ android:textColor="@color/red"/>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:layout_weight="1"
|
|
|
- android:background="@null"
|
|
|
- android:hint="请输入设备编号"
|
|
|
- android:imeOptions="actionSend"
|
|
|
- android:textColor="@color/black" />
|
|
|
+ android:background="@drawable/bg_line_edittext">
|
|
|
+
|
|
|
+ <com.uas.hystorage.view.ClearableEditText
|
|
|
+ android:id="@+id/storage_recharge_collect_ets"
|
|
|
+ style="@style/EditTextStyle"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@null"
|
|
|
+ android:hint="请输入设备编号"
|
|
|
+ android:imeOptions="actionSend"
|
|
|
+ android:textColor="@color/black" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
</LinearLayout>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
- <LinearLayout
|
|
|
- android:visibility="gone"
|
|
|
- android:id="@+id/line_hint"
|
|
|
- android:orientation="vertical"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:background="@drawable/shape_msg_block"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:padding="@dimen/sp_16"
|
|
|
- android:layout_marginLeft="@dimen/dp_10"
|
|
|
- android:layout_marginRight="@dimen/dp_10"
|
|
|
- android:layout_marginTop="@dimen/dp_10">
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_hint1"
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_stop_show"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:text="提示1">
|
|
|
- </TextView>
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/line_vis"
|
|
|
android:orientation="vertical"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ android:visibility="gone"
|
|
|
+ tools:visibility="visible">
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:orientation="horizontal"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingTop="@dimen/sp_16"
|
|
|
+ android:paddingRight="@dimen/sp_16">
|
|
|
+
|
|
|
<TextView
|
|
|
- android:id="@+id/text_pepro"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ style="@style/inputItemCaption"
|
|
|
+ android:text="类型"
|
|
|
+ android:textColor="@color/red" />
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:text="">
|
|
|
- </TextView>
|
|
|
+ android:gravity="center_vertical">
|
|
|
+
|
|
|
+ <RadioGroup
|
|
|
+ android:id="@+id/rg_stop_reason"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ >
|
|
|
+
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/rb_normal_shutdown"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:checked="true"
|
|
|
+ android:textSize="16sp"
|
|
|
+ android:text="正常停机" />
|
|
|
+
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/rb_abnormal_shutdown"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textSize="16sp"
|
|
|
+ android:text="异常停机" />
|
|
|
+
|
|
|
+ </RadioGroup>
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingTop="@dimen/sp_16"
|
|
|
+ android:paddingRight="@dimen/sp_16">
|
|
|
+
|
|
|
<TextView
|
|
|
- android:id="@+id/text_time"
|
|
|
+ style="@style/inputItemCaption"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:text="原因"
|
|
|
+ android:textColor="@color/black" />
|
|
|
+
|
|
|
+
|
|
|
+ <com.uas.hystorage.view.ClearableEditText
|
|
|
+ android:id="@+id/cet_stop_reason"
|
|
|
+ android:background="@drawable/shape_msg_block"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:paddingStart="15dp"
|
|
|
+ android:paddingEnd="15dp"
|
|
|
+ android:hint=""
|
|
|
+ android:lines="3"
|
|
|
android:textColor="@color/black"
|
|
|
- android:text="">
|
|
|
- </TextView>
|
|
|
+ android:maxLength="300"
|
|
|
+ android:maxLines="3"
|
|
|
+ android:scrollbars="vertical"
|
|
|
+ />
|
|
|
+
|
|
|
</LinearLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/line_hint"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/dp_10"
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
+ android:layout_marginRight="@dimen/dp_10"
|
|
|
+ android:background="@drawable/shape_msg_block"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:padding="@dimen/sp_16"
|
|
|
+ android:visibility="gone"
|
|
|
+ tools:visibility="visible">
|
|
|
+
|
|
|
<TextView
|
|
|
- android:id="@+id/tv_hint2"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:id="@+id/tv_hint1"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:textColor="@color/red"
|
|
|
- android:text=" 启动状态">
|
|
|
- </TextView>
|
|
|
- </LinearLayout>
|
|
|
+ android:text="提示1"
|
|
|
+ android:textColor="@color/black"></TextView>
|
|
|
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/line_vis"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/text_pepro"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text=""
|
|
|
+ android:textColor="@color/black"></TextView>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/text_time"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text=""
|
|
|
+ android:textColor="@color/black"></TextView>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_hint2"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text=" 启动状态"
|
|
|
+ android:textColor="@color/red"></TextView>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
+ </android.support.v4.widget.NestedScrollView>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
<LinearLayout
|
|
|
- android:layout_alignParentBottom="true"
|
|
|
- android:orientation="horizontal"
|
|
|
+ android:id="@+id/ll_stop"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
<Button
|
|
|
android:id="@+id/btn_starts"
|
|
@@ -117,14 +214,13 @@
|
|
|
<Button
|
|
|
android:id="@+id/btn_stops"
|
|
|
style="@style/ButtonStyle"
|
|
|
- android:background="@drawable/bgstop_button"
|
|
|
- android:layout_height="100dp"
|
|
|
android:layout_width="0dp"
|
|
|
+ android:layout_height="100dp"
|
|
|
android:layout_margin="12dp"
|
|
|
android:layout_weight="1"
|
|
|
+ android:background="@drawable/bgstop_button"
|
|
|
android:text="暂停" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
-
|
|
|
</RelativeLayout>
|