|
@@ -1,16 +1,16 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
+
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:orientation="vertical"
|
|
|
- android:background="#F7F7F7">
|
|
|
+ android:background="#F7F7F7"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
<include
|
|
|
android:id="@+id/activity_calling_door_layout_title"
|
|
|
layout="@layout/view_title_layout" />
|
|
|
|
|
|
-
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
@@ -21,13 +21,12 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginLeft="@dimen/d24"
|
|
|
- android:layout_marginRight="@dimen/d24"
|
|
|
android:layout_marginTop="@dimen/d30"
|
|
|
+ android:layout_marginRight="@dimen/d24"
|
|
|
android:background="@drawable/shape_bed_bg"
|
|
|
android:gravity="center_horizontal"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
-
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content">
|
|
@@ -36,13 +35,12 @@
|
|
|
android:id="@+id/nurse_msg_tx_1"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/d28"
|
|
|
+ android:layout_marginTop="@dimen/d18"
|
|
|
android:text="*"
|
|
|
- android:textSize="@dimen/font_size_18"
|
|
|
android:textColor="@color/txt_number"
|
|
|
- android:textStyle="bold"
|
|
|
- android:layout_marginTop="@dimen/d18"
|
|
|
- android:layout_marginLeft="@dimen/d28"
|
|
|
- />
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="match_parent"
|
|
@@ -55,22 +53,20 @@
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
-
|
|
|
<Spinner
|
|
|
android:id="@+id/device_sys_ed_1"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="@dimen/d52"
|
|
|
- android:layout_marginRight="@dimen/d40"
|
|
|
android:layout_marginLeft="@dimen/d40"
|
|
|
android:layout_marginTop="@dimen/d40"
|
|
|
+ android:layout_marginRight="@dimen/d40"
|
|
|
android:layout_marginBottom="@dimen/d40"
|
|
|
android:background="@drawable/shape_device_sys_ed_bg"
|
|
|
+ android:entries="@array/language_list"
|
|
|
android:gravity="center_vertical"
|
|
|
android:paddingLeft="@dimen/d26"
|
|
|
- android:entries="@array/language_list"
|
|
|
android:textSize="@dimen/font_size_18"
|
|
|
- android:textStyle="bold"
|
|
|
- />
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
@@ -78,13 +74,12 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginLeft="@dimen/d24"
|
|
|
- android:layout_marginRight="@dimen/d24"
|
|
|
android:layout_marginTop="@dimen/d30"
|
|
|
+ android:layout_marginRight="@dimen/d24"
|
|
|
android:background="@drawable/shape_bed_bg"
|
|
|
android:gravity="center_horizontal"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
-
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content">
|
|
@@ -92,13 +87,12 @@
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/d28"
|
|
|
+ android:layout_marginTop="@dimen/d18"
|
|
|
android:text="*"
|
|
|
- android:textSize="@dimen/font_size_18"
|
|
|
android:textColor="@color/txt_number"
|
|
|
- android:textStyle="bold"
|
|
|
- android:layout_marginTop="@dimen/d18"
|
|
|
- android:layout_marginLeft="@dimen/d28"
|
|
|
- />
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="match_parent"
|
|
@@ -110,21 +104,21 @@
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
+
|
|
|
<Spinner
|
|
|
android:id="@+id/device_sys_ed_2"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="@dimen/d52"
|
|
|
- android:layout_marginRight="@dimen/d40"
|
|
|
android:layout_marginLeft="@dimen/d40"
|
|
|
android:layout_marginTop="@dimen/d40"
|
|
|
+ android:layout_marginRight="@dimen/d40"
|
|
|
android:layout_marginBottom="@dimen/d40"
|
|
|
android:background="@drawable/shape_device_sys_ed_bg"
|
|
|
+ android:entries="@array/language_list"
|
|
|
android:gravity="center_vertical"
|
|
|
android:paddingLeft="@dimen/d26"
|
|
|
- android:entries="@array/language_list"
|
|
|
android:textSize="@dimen/font_size_18"
|
|
|
- android:textStyle="bold"
|
|
|
- />
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
@@ -133,12 +127,11 @@
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/d28"
|
|
|
android:text="*"
|
|
|
- android:textSize="@dimen/font_size_18"
|
|
|
android:textColor="@color/txt_number"
|
|
|
- android:textStyle="bold"
|
|
|
- android:layout_marginLeft="@dimen/d28"
|
|
|
- />
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="match_parent"
|
|
@@ -163,58 +156,52 @@
|
|
|
android:id="@+id/device_sys_radio_language_on"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="@string/str_yes"
|
|
|
- android:textColor="@drawable/radio_button_selector_txt"
|
|
|
android:button="@null"
|
|
|
android:drawableLeft="@drawable/radio_button_selector_bg"
|
|
|
android:drawablePadding="@dimen/d5"
|
|
|
+ android:text="@string/str_yes"
|
|
|
+ android:textColor="@drawable/radio_button_selector_txt"
|
|
|
android:textSize="14px" />
|
|
|
|
|
|
<RadioButton
|
|
|
android:id="@+id/device_sys_radio_language_off"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="@string/str_no"
|
|
|
- android:textColor="@drawable/radio_button_selector_txt"
|
|
|
android:layout_marginLeft="@dimen/d10"
|
|
|
android:button="@null"
|
|
|
android:drawableLeft="@drawable/radio_button_selector_bg"
|
|
|
android:drawablePadding="@dimen/d5"
|
|
|
+ android:text="@string/str_no"
|
|
|
+ android:textColor="@drawable/radio_button_selector_txt"
|
|
|
android:textSize="14px" />
|
|
|
</RadioGroup>
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginLeft="@dimen/d24"
|
|
|
- android:layout_marginRight="@dimen/d24"
|
|
|
android:layout_marginTop="@dimen/d30"
|
|
|
+ android:layout_marginRight="@dimen/d24"
|
|
|
android:background="@drawable/shape_bed_bg"
|
|
|
android:gravity="center_horizontal"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
-
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal"
|
|
|
android:layout_marginTop="@dimen/d20"
|
|
|
- >
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/d28"
|
|
|
android:text="*"
|
|
|
- android:textSize="@dimen/font_size_18"
|
|
|
android:textColor="@color/txt_number"
|
|
|
- android:textStyle="bold"
|
|
|
- android:layout_marginLeft="@dimen/d28"
|
|
|
- />
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
@@ -228,55 +215,51 @@
|
|
|
android:id="@+id/device_sys_group_window"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="@dimen/d24"
|
|
|
android:layout_gravity="center"
|
|
|
+ android:layout_marginLeft="@dimen/d24"
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
<RadioButton
|
|
|
android:id="@+id/device_sys_radio_window_on"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="@string/str_device_sys_window_on"
|
|
|
- android:textColor="@drawable/radio_button_selector_txt"
|
|
|
android:button="@null"
|
|
|
android:drawableLeft="@drawable/radio_button_selector_bg"
|
|
|
android:drawablePadding="@dimen/d5"
|
|
|
+ android:text="@string/str_device_sys_window_on"
|
|
|
+ android:textColor="@drawable/radio_button_selector_txt"
|
|
|
android:textSize="14px" />
|
|
|
|
|
|
<RadioButton
|
|
|
android:id="@+id/device_sys_radio_window_off"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="@string/str_device_sys_window_off"
|
|
|
- android:textColor="@drawable/radio_button_selector_txt"
|
|
|
android:layout_marginLeft="@dimen/d10"
|
|
|
android:button="@null"
|
|
|
android:drawableLeft="@drawable/radio_button_selector_bg"
|
|
|
android:drawablePadding="@dimen/d5"
|
|
|
+ android:text="@string/str_device_sys_window_off"
|
|
|
+ android:textColor="@drawable/radio_button_selector_txt"
|
|
|
android:textSize="14px" />
|
|
|
</RadioGroup>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
-
|
|
|
-
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal"
|
|
|
android:layout_marginTop="@dimen/d20"
|
|
|
android:layout_marginBottom="@dimen/d20"
|
|
|
- >
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/d28"
|
|
|
android:text="*"
|
|
|
- android:textSize="@dimen/font_size_18"
|
|
|
android:textColor="@color/txt_number"
|
|
|
- android:textStyle="bold"
|
|
|
- android:layout_marginLeft="@dimen/d28"
|
|
|
- />
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
@@ -290,124 +273,139 @@
|
|
|
android:id="@+id/device_huli_group_time"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="@dimen/d24"
|
|
|
android:layout_gravity="center"
|
|
|
+ android:layout_marginLeft="@dimen/d24"
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
<RadioButton
|
|
|
android:id="@+id/device_huli_time_on"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="@string/str_yes"
|
|
|
- android:textColor="@drawable/radio_button_selector_txt2"
|
|
|
android:button="@null"
|
|
|
android:drawableLeft="@drawable/radio_button_selector_bg2"
|
|
|
android:drawablePadding="@dimen/d5"
|
|
|
+ android:text="@string/str_yes"
|
|
|
+ android:textColor="@drawable/radio_button_selector_txt2"
|
|
|
android:textSize="14px" />
|
|
|
|
|
|
<RadioButton
|
|
|
android:id="@+id/device_huli_time_off"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="@string/str_no"
|
|
|
- android:textColor="@drawable/radio_button_selector_txt2"
|
|
|
android:layout_marginLeft="@dimen/d10"
|
|
|
android:button="@null"
|
|
|
android:drawableLeft="@drawable/radio_button_selector_bg2"
|
|
|
android:drawablePadding="@dimen/d5"
|
|
|
+ android:text="@string/str_no"
|
|
|
+ android:textColor="@drawable/radio_button_selector_txt2"
|
|
|
android:textSize="14px" />
|
|
|
</RadioGroup>
|
|
|
</LinearLayout>
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <ScrollView
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
android:layout_marginTop="20dp"
|
|
|
- android:layout_marginBottom="10dp"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:layout_marginBottom="10dp">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/device_sys_save_settings_tv"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/d60"
|
|
|
- android:layout_marginLeft="@dimen/d24"
|
|
|
- android:layout_marginRight="@dimen/d24"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:drawableLeft="@mipmap/kssz_bao"
|
|
|
- android:paddingLeft="@dimen/d200"
|
|
|
- android:drawablePadding="@dimen/d15"
|
|
|
- android:background="@drawable/shape_bed_bg"
|
|
|
- android:textStyle="bold"
|
|
|
- android:text="@string/save_settings"
|
|
|
- android:textColor="#000000"
|
|
|
- android:textSize="18sp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/device_sys_language_settings_tv"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/d60"
|
|
|
- android:layout_marginLeft="@dimen/d24"
|
|
|
- android:layout_marginRight="@dimen/d24"
|
|
|
- android:layout_marginTop="@dimen/d15"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:drawableLeft="@mipmap/kssz_yu"
|
|
|
- android:drawablePadding="@dimen/d15"
|
|
|
- android:paddingLeft="@dimen/d200"
|
|
|
- android:background="@drawable/shape_bed_bg"
|
|
|
- android:textStyle="bold"
|
|
|
- android:text="@string/language_settings"
|
|
|
- android:textColor="#000000"
|
|
|
- android:textSize="18sp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/device_sys_system_settings_tv"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/d60"
|
|
|
- android:layout_marginLeft="@dimen/d24"
|
|
|
- android:layout_marginRight="@dimen/d24"
|
|
|
- android:layout_marginTop="@dimen/d15"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:drawableLeft="@mipmap/kssz_xi"
|
|
|
- android:paddingLeft="@dimen/d200"
|
|
|
- android:drawablePadding="@dimen/d15"
|
|
|
- android:background="@drawable/shape_bed_bg"
|
|
|
- android:textStyle="bold"
|
|
|
- android:text="@string/system_settings"
|
|
|
- android:textColor="#000000"
|
|
|
- android:textSize="18sp" />
|
|
|
-
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/device_sys_software_and_information_tv"
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/d60"
|
|
|
- android:layout_marginLeft="@dimen/d24"
|
|
|
- android:layout_marginRight="@dimen/d24"
|
|
|
- android:layout_marginTop="15dp"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:drawableLeft="@mipmap/kssz_guan"
|
|
|
- android:paddingLeft="@dimen/d200"
|
|
|
- android:drawablePadding="@dimen/d15"
|
|
|
- android:background="@drawable/shape_bed_bg"
|
|
|
- android:text="关于主机"
|
|
|
- android:textStyle="bold"
|
|
|
- android:textColor="#000000"
|
|
|
- android:textSize="18sp" />
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/device_sys_save_settings_tv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/d60"
|
|
|
+ android:layout_marginLeft="@dimen/d24"
|
|
|
+ android:layout_marginRight="@dimen/d24"
|
|
|
+ android:background="@drawable/shape_bed_bg"
|
|
|
+ android:drawableLeft="@mipmap/kssz_bao"
|
|
|
+ android:drawablePadding="@dimen/d15"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:paddingLeft="@dimen/d200"
|
|
|
+ android:text="@string/save_settings"
|
|
|
+ android:textColor="#000000"
|
|
|
+ android:textSize="18sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/device_sys_language_settings_tv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/d60"
|
|
|
+ android:layout_marginLeft="@dimen/d24"
|
|
|
+ android:layout_marginTop="@dimen/d15"
|
|
|
+ android:layout_marginRight="@dimen/d24"
|
|
|
+ android:background="@drawable/shape_bed_bg"
|
|
|
+ android:drawableLeft="@mipmap/kssz_yu"
|
|
|
+ android:drawablePadding="@dimen/d15"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:paddingLeft="@dimen/d200"
|
|
|
+ android:text="@string/language_settings"
|
|
|
+ android:textColor="#000000"
|
|
|
+ android:textSize="18sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/device_serial_port_settings_tv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/d60"
|
|
|
+ android:layout_marginLeft="@dimen/d24"
|
|
|
+ android:layout_marginTop="@dimen/d15"
|
|
|
+ android:layout_marginRight="@dimen/d24"
|
|
|
+ android:background="@drawable/shape_bed_bg"
|
|
|
+ android:drawableLeft="@mipmap/kssz_xi"
|
|
|
+ android:drawablePadding="@dimen/d15"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:paddingLeft="@dimen/d200"
|
|
|
+ android:text="@string/serial_port_config"
|
|
|
+ android:textColor="#000000"
|
|
|
+ android:textSize="18sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/device_sys_system_settings_tv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/d60"
|
|
|
+ android:layout_marginLeft="@dimen/d24"
|
|
|
+ android:layout_marginTop="@dimen/d15"
|
|
|
+ android:layout_marginRight="@dimen/d24"
|
|
|
+ android:background="@drawable/shape_bed_bg"
|
|
|
+ android:drawableLeft="@mipmap/kssz_xi"
|
|
|
+ android:drawablePadding="@dimen/d15"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:paddingLeft="@dimen/d200"
|
|
|
+ android:text="@string/system_settings"
|
|
|
+ android:textColor="#000000"
|
|
|
+ android:textSize="18sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/device_sys_software_and_information_tv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/d60"
|
|
|
+ android:layout_marginLeft="@dimen/d24"
|
|
|
+ android:layout_marginTop="15dp"
|
|
|
+ android:layout_marginRight="@dimen/d24"
|
|
|
+ android:background="@drawable/shape_bed_bg"
|
|
|
+ android:drawableLeft="@mipmap/kssz_guan"
|
|
|
+ android:drawablePadding="@dimen/d15"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:paddingLeft="@dimen/d200"
|
|
|
+ android:text="关于主机"
|
|
|
+ android:textColor="#000000"
|
|
|
+ android:textSize="18sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
+ </ScrollView>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
-
|
|
|
</LinearLayout>
|
|
|
|
|
|
</layout>
|