|
@@ -0,0 +1,435 @@
|
|
|
+<?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">
|
|
|
+
|
|
|
+ <include
|
|
|
+ android:id="@+id/activity_calling_door_layout_title"
|
|
|
+ layout="@layout/view_title_layout" />
|
|
|
+
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ >
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_device_config_view"
|
|
|
+ android:layout_width="@dimen/d450"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/d24"
|
|
|
+ android:layout_marginRight="@dimen/d24"
|
|
|
+ android:layout_marginTop="@dimen/d30"
|
|
|
+ android:background="@drawable/shape_bed_bg"
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/nurse_msg_tx_1"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ 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"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:text="@string/str_device_selection_type"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ </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_marginBottom="@dimen/d40"
|
|
|
+ android:background="@drawable/shape_device_sys_ed_bg"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:entries="@array/device_list"
|
|
|
+
|
|
|
+ />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_device_config_view_2"
|
|
|
+ android:layout_below="@+id/ll_device_config_view"
|
|
|
+ android:layout_width="@dimen/d450"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/d24"
|
|
|
+ android:layout_marginRight="@dimen/d24"
|
|
|
+ android:layout_marginTop="@dimen/d30"
|
|
|
+ android:background="@drawable/shape_bed_bg"
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ 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"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:text="@string/str_device_selection_language"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
+ 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_marginBottom="@dimen/d40"
|
|
|
+ android:background="@drawable/shape_device_sys_ed_bg"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:entries="@array/language_list"
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
+ android:textStyle="bold"
|
|
|
+ />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="*"
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
+ android:textColor="@color/txt_number"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:layout_marginLeft="@dimen/d28"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/language_set_mode"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <RadioGroup
|
|
|
+ android:id="@+id/device_sys_group_sip"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/d24"
|
|
|
+ android:layout_marginTop="@dimen/d10"
|
|
|
+ android:layout_marginBottom="@dimen/d20"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <RadioButton
|
|
|
+ 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_txt2"
|
|
|
+ android:button="@null"
|
|
|
+ android:drawableLeft="@drawable/radio_button_selector_bg2"
|
|
|
+ android:drawablePadding="@dimen/d5"
|
|
|
+ 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_txt2"
|
|
|
+ android:layout_marginLeft="@dimen/d10"
|
|
|
+ android:button="@null"
|
|
|
+ android:drawableLeft="@drawable/radio_button_selector_bg2"
|
|
|
+ android:drawablePadding="@dimen/d5"
|
|
|
+ android:textSize="14px" />
|
|
|
+ </RadioGroup>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_device_config_view_3"
|
|
|
+ android:layout_toRightOf="@+id/ll_device_config_view"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/d180"
|
|
|
+ android:layout_marginLeft="@dimen/d24"
|
|
|
+ android:layout_marginRight="@dimen/d24"
|
|
|
+ android:layout_marginTop="@dimen/d30"
|
|
|
+ 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:visibility="gone"
|
|
|
+ >
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ 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"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:text="@string/str_device_selection_window"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <RadioGroup
|
|
|
+ android:id="@+id/device_sys_group_window"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="@dimen/d24"
|
|
|
+ android:layout_marginTop="@dimen/d20"
|
|
|
+ android:layout_marginBottom="@dimen/d20"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:visibility="gone"
|
|
|
+ >
|
|
|
+
|
|
|
+ <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_txt2"
|
|
|
+ android:button="@null"
|
|
|
+ android:drawableLeft="@drawable/radio_button_selector_bg2"
|
|
|
+ android:drawablePadding="@dimen/d5"
|
|
|
+ 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_txt2"
|
|
|
+ android:layout_marginLeft="@dimen/d10"
|
|
|
+ android:button="@null"
|
|
|
+ android:drawableLeft="@drawable/radio_button_selector_bg2"
|
|
|
+ android:drawablePadding="@dimen/d5"
|
|
|
+ android:textSize="14px" />
|
|
|
+ </RadioGroup>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/str_device_switch"
|
|
|
+ android:drawableLeft="@mipmap/xinxi"
|
|
|
+ android:drawablePadding="@dimen/d8"
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:layout_marginTop="@dimen/d20"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/ll_broadcast_switch"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/settings_main_14_ll"
|
|
|
+ android:layout_marginLeft="@dimen/d10"
|
|
|
+ android:layout_marginTop="@dimen/d20"
|
|
|
+ android:layout_marginBottom="@dimen/d20">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/switch_tx"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textSize="20sp"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:text="@string/str_device_is_broadcast"/>
|
|
|
+
|
|
|
+ <Switch
|
|
|
+ android:id="@+id/switch_bluetooth"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_marginRight="@dimen/d20"
|
|
|
+ android:switchMinWidth="40dp"
|
|
|
+ android:thumb="@drawable/thumb_selector"
|
|
|
+ android:track="@drawable/track_selector" />
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/ll_agora_switch"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/settings_main_14_ll"
|
|
|
+ android:layout_marginLeft="@dimen/d10"
|
|
|
+ android:layout_marginTop="@dimen/d20"
|
|
|
+ android:layout_marginBottom="@dimen/d20">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/switch_agora_tx"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textSize="20sp"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:text="@string/str_device_is_agora"/>
|
|
|
+
|
|
|
+ <Switch
|
|
|
+ android:id="@+id/switch_agora"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_marginRight="@dimen/d20"
|
|
|
+ android:switchMinWidth="40dp"
|
|
|
+ android:thumb="@drawable/thumb_selector"
|
|
|
+ android:track="@drawable/track_selector"/>
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_below="@+id/ll_device_config_view_3"
|
|
|
+ android:layout_toRightOf="@+id/ll_device_config_view_2"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:layout_marginBottom="10dp"
|
|
|
+ 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: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/call_config"
|
|
|
+ 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"
|
|
|
+ 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="@string/str_about"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:textColor="#000000"
|
|
|
+ android:textSize="18sp" />
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+</layout>
|