|
@@ -1,359 +1,360 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<layout>
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/javashop_color_white">
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/title_relayout"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:background="@color/javashop_color_white">
|
|
|
+ android:layout_height="48dp">
|
|
|
|
|
|
- <RelativeLayout
|
|
|
- android:id="@+id/title_relayout"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="48dp">
|
|
|
-
|
|
|
- <!--SIP状态图标-->
|
|
|
- <TextView
|
|
|
- android:id="@+id/view_title_layout_tv_point"
|
|
|
- android:layout_width="24dp"
|
|
|
- android:layout_height="24dp"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:gravity="center"
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
- android:textColor="@color/text_room_color"
|
|
|
- android:background="@color/red_color"/>
|
|
|
+ <!--SIP状态图标-->
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/view_title_layout_tv_point"
|
|
|
+ android:layout_width="24dp"
|
|
|
+ android:layout_height="24dp"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:background="@color/red_color"
|
|
|
+ android:gravity="center"
|
|
|
+ android:textColor="@color/text_room_color" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/name_of_organization_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
- android:layout_toRightOf="@id/view_title_layout_tv_point"
|
|
|
- android:gravity="center"
|
|
|
- android:text="----"
|
|
|
- android:textColor="#2F9DF1"
|
|
|
- android:textSize="22sp" />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/name_of_organization_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:layout_toRightOf="@id/view_title_layout_tv_point"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="----"
|
|
|
+ android:textColor="#2F9DF1"
|
|
|
+ android:textSize="22sp" />
|
|
|
+
|
|
|
+ <TextClock
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:format12Hour="yyyy-MM-dd HH:mm EEEE"
|
|
|
+ android:format24Hour="yyyy-MM-dd HH:mm EEEE"
|
|
|
+ android:textColor="#2F9DF1"
|
|
|
+ android:textSize="22sp" />
|
|
|
|
|
|
- <TextClock
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:gravity="center">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:format12Hour="yyyy-MM-dd HH:mm EEEE"
|
|
|
- android:format24Hour="yyyy-MM-dd HH:mm EEEE"
|
|
|
- android:textColor="#2F9DF1"
|
|
|
- android:textSize="22sp" />
|
|
|
-
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
- android:gravity="center">
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <com.wdkl.ncs.android.lib.widget.MarqueeTextView
|
|
|
+ android:id="@+id/tv_broadcast_state"
|
|
|
+ android:layout_width="100dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginRight="8dp"
|
|
|
+ android:drawableLeft="@drawable/ic_broadcast"
|
|
|
+ android:drawablePadding="4dp"
|
|
|
+ android:ellipsize="marquee"
|
|
|
+ android:focusable="true"
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
+ android:marqueeRepeatLimit="-1"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:text="@string/broadcast_playing"
|
|
|
+ android:textColor="@color/red_color"
|
|
|
+ android:textSize="20sp"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_device_id"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:gravity="center_vertical">
|
|
|
-
|
|
|
- <com.wdkl.ncs.android.lib.widget.MarqueeTextView
|
|
|
- android:id="@+id/tv_broadcast_state"
|
|
|
- android:layout_width="100dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginRight="8dp"
|
|
|
- android:drawableLeft="@drawable/ic_broadcast"
|
|
|
- android:drawablePadding="4dp"
|
|
|
- android:ellipsize="marquee"
|
|
|
- android:focusable="true"
|
|
|
- android:focusableInTouchMode="true"
|
|
|
- android:marqueeRepeatLimit="-1"
|
|
|
- android:singleLine="true"
|
|
|
- android:text="@string/broadcast_playing"
|
|
|
- android:textColor="@color/red_color"
|
|
|
- android:textSize="20sp"
|
|
|
- android:visibility="gone"/>
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_device_id"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginRight="16dp"
|
|
|
- android:text="ID: --"
|
|
|
- android:textColor="#2F9DF1"
|
|
|
- android:textSize="20sp"/>
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/battery_state_img"
|
|
|
- android:layout_width="28dp"
|
|
|
- android:layout_height="28dp"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:src="@drawable/wdkl_stat_sys_battery"/>
|
|
|
-
|
|
|
- <!-- 蓝牙状态 -->
|
|
|
- <ImageView
|
|
|
- android:id="@+id/bluetooth_state_imagev"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginRight="16dp"
|
|
|
- android:visibility="gone"/>
|
|
|
- <!-- WiFi状态 -->
|
|
|
- <ImageView
|
|
|
- android:id="@+id/wifi_state_imagev"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginRight="16dp" />
|
|
|
-
|
|
|
- <!-- 以太网 -->
|
|
|
- <ImageView
|
|
|
- android:id="@+id/ethernet_state_imagev"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginRight="16dp" />
|
|
|
-
|
|
|
- <!-- tcp连接状态 -->
|
|
|
- <ImageView
|
|
|
- android:id="@+id/tcp_state_imagev"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginRight="16dp"
|
|
|
- android:src="@drawable/ic_tcp_fail"/>
|
|
|
-
|
|
|
- <!--白昼状态-->
|
|
|
- <ImageView
|
|
|
- android:id="@+id/day_night_state_imagev"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginRight="16dp" />
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
- </RelativeLayout>
|
|
|
- </RelativeLayout>
|
|
|
+ android:layout_marginRight="16dp"
|
|
|
+ android:text="ID: --"
|
|
|
+ android:textColor="#2F9DF1"
|
|
|
+ android:textSize="20sp" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/battery_state_img"
|
|
|
+ android:layout_width="28dp"
|
|
|
+ android:layout_height="28dp"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
+ android:src="@drawable/wdkl_stat_sys_battery" />
|
|
|
+
|
|
|
+ <!-- 蓝牙状态 -->
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/bluetooth_state_imagev"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginRight="16dp"
|
|
|
+ android:visibility="gone" />
|
|
|
+ <!-- WiFi状态 -->
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/wifi_state_imagev"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginRight="16dp" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_above="@+id/bottom_linlyout"
|
|
|
- android:layout_below="@+id/title_relayout">
|
|
|
+ <!-- 以太网 -->
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/ethernet_state_imagev"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginRight="16dp" />
|
|
|
|
|
|
- <FrameLayout
|
|
|
- android:id="@+id/left_framlyout"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="0.8"/>
|
|
|
+ <!-- tcp连接状态 -->
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/tcp_state_imagev"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginRight="16dp"
|
|
|
+ android:src="@drawable/ic_tcp_fail" />
|
|
|
|
|
|
+ <!--白昼状态-->
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/day_night_state_imagev"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginRight="16dp" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ </RelativeLayout>
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_above="@+id/bottom_linlyout"
|
|
|
+ android:layout_below="@+id/title_relayout">
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/left_framlyout"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="0.8" />
|
|
|
|
|
|
- <FrameLayout
|
|
|
- android:id="@+id/middle_fralyout"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_toRightOf="@+id/left_framlyout"
|
|
|
- android:layout_weight="1.6"/>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
<FrameLayout
|
|
|
- android:id="@+id/right_fralyout"
|
|
|
- android:layout_width="480dp"
|
|
|
+ android:id="@+id/middle_fralyout"
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:layout_above="@+id/bottom_linlyout"
|
|
|
- android:layout_below="@+id/title_relayout"
|
|
|
- android:layout_alignParentRight="true"/>
|
|
|
+ android:layout_toRightOf="@+id/left_framlyout"
|
|
|
+ android:layout_weight="1.6" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/right_fralyout"
|
|
|
+ android:layout_width="480dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_above="@+id/bottom_linlyout"
|
|
|
+ android:layout_below="@+id/title_relayout"
|
|
|
+ android:layout_alignParentRight="true" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/bottom_linlyout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="60dp"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:background="#2F9DF1"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/bottom_linlyout"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="60dp"
|
|
|
- android:layout_alignParentBottom="true"
|
|
|
- android:background="#2F9DF1"
|
|
|
+ android:layout_height="match_parent"
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <RadioGroup
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
- <RadioGroup
|
|
|
- android:layout_width="match_parent"
|
|
|
+ <com.wdkl.ncs.android.lib.widget.CustomRadioButton
|
|
|
+ android:id="@+id/home_radio_bt"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <com.wdkl.ncs.android.lib.widget.CustomRadioButton
|
|
|
- android:id="@+id/home_radio_bt"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:button="@null"
|
|
|
- android:drawableLeft="@drawable/shou_ye_no"
|
|
|
- android:drawablePadding="10px"
|
|
|
- android:gravity="center"
|
|
|
- android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
- android:text="@string/str_home"
|
|
|
- android:textSize="24sp" />
|
|
|
-
|
|
|
- <com.wdkl.ncs.android.lib.widget.CustomRadioButton
|
|
|
- android:id="@+id/broadcast_radio_bt"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:button="@null"
|
|
|
- android:drawableLeft="@drawable/guang_bo"
|
|
|
- android:drawablePadding="10px"
|
|
|
- android:gravity="center"
|
|
|
- android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
- android:text="@string/str_broadcast"
|
|
|
- android:textSize="24sp"
|
|
|
- android:visibility="gone"/>
|
|
|
-
|
|
|
- <com.wdkl.ncs.android.lib.widget.CustomRadioButton
|
|
|
- android:id="@+id/visit_an_extension_radio_bt"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:button="@null"
|
|
|
- android:drawableLeft="@drawable/selt_broadcast_icon"
|
|
|
- android:gravity="center"
|
|
|
- android:textColor="#FFFFFF"
|
|
|
- android:text="@string/str_visiting"
|
|
|
- android:textSize="16sp"
|
|
|
- android:visibility="gone" />
|
|
|
-
|
|
|
- <com.wdkl.ncs.android.lib.widget.CustomRadioButton
|
|
|
- android:id="@+id/doctor_host_radio_bt"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:button="@null"
|
|
|
- android:drawableLeft="@drawable/ic_doctor"
|
|
|
- android:drawablePadding="10px"
|
|
|
- android:gravity="center"
|
|
|
- android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
- android:text="@string/str_doctor"
|
|
|
- android:textSize="24sp" />
|
|
|
-
|
|
|
- <com.wdkl.ncs.android.lib.widget.CustomRadioButton
|
|
|
- android:id="@+id/inpatient_ward_radio_bt"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:button="@null"
|
|
|
- android:drawableLeft="@drawable/selt_inpatient_ward_icon"
|
|
|
- android:gravity="center"
|
|
|
- android:textColor="#FFFFFF"
|
|
|
- android:text="@string/str_ward"
|
|
|
- android:textSize="16sp"
|
|
|
- android:visibility="gone" />
|
|
|
-
|
|
|
- <com.wdkl.ncs.android.lib.widget.CustomRadioButton
|
|
|
- android:id="@+id/sickbed_radio_bt"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:button="@null"
|
|
|
- android:drawableLeft="@drawable/selt_broadcast_icon"
|
|
|
- android:gravity="center"
|
|
|
- android:textColor="#FFFFFF"
|
|
|
- android:text="@string/str_sick_bed"
|
|
|
- android:textSize="16sp"
|
|
|
- android:visibility="gone" />
|
|
|
-
|
|
|
- <com.wdkl.ncs.android.lib.widget.CustomRadioButton
|
|
|
- android:id="@+id/nurse_move_radio_bt"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:button="@null"
|
|
|
- android:drawableLeft="@drawable/selt_move_icon"
|
|
|
- android:drawablePadding="10px"
|
|
|
- android:gravity="center"
|
|
|
- android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
- android:text="@string/str_mobile"
|
|
|
- android:textSize="24sp" />
|
|
|
-
|
|
|
- <com.wdkl.ncs.android.lib.widget.CustomRadioButton
|
|
|
- android:id="@+id/other_host_radio_bt"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:button="@null"
|
|
|
- android:drawableLeft="@drawable/selt_other_host_icon"
|
|
|
- android:drawablePadding="10px"
|
|
|
- android:gravity="center"
|
|
|
- android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
- android:text="@string/str_other_host"
|
|
|
- android:textSize="24sp" />
|
|
|
-
|
|
|
- <com.wdkl.ncs.android.lib.widget.CustomRadioButton
|
|
|
- android:id="@+id/collocation_radio_bt"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:button="@null"
|
|
|
- android:drawableLeft="@drawable/selt_other_host_icon"
|
|
|
- android:drawablePadding="10px"
|
|
|
- android:gravity="center"
|
|
|
- android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
- android:text="@string/str_trusteeship"
|
|
|
- android:textSize="24sp" />
|
|
|
-
|
|
|
- <com.wdkl.ncs.android.lib.widget.CustomRadioButton
|
|
|
- android:id="@+id/led_settings_radio_bt"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:button="@null"
|
|
|
- android:drawableLeft="@drawable/selt_set_icon"
|
|
|
- android:drawablePadding="10px"
|
|
|
- android:gravity="center"
|
|
|
- android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
- android:text="@string/str_led"
|
|
|
- android:textSize="24sp" />
|
|
|
-
|
|
|
- <com.wdkl.ncs.android.lib.widget.BadgeRadioButton
|
|
|
- android:id="@+id/nb_device_radio_bt"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:button="@null"
|
|
|
- android:drawableLeft="@drawable/ic_nb_iot_device"
|
|
|
- android:drawablePadding="10px"
|
|
|
- android:gravity="center"
|
|
|
- android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
- android:text="@string/str_nb_iot"
|
|
|
- android:textSize="24sp" />
|
|
|
-
|
|
|
- <com.wdkl.ncs.android.lib.widget.CustomRadioButton
|
|
|
- android:id="@+id/note_message_radio_bt"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:button="@null"
|
|
|
- android:drawableLeft="@drawable/ic_message"
|
|
|
- android:drawablePadding="10dp"
|
|
|
- android:gravity="center"
|
|
|
- android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
- android:text="@string/str_note_message"
|
|
|
- android:textSize="24sp"
|
|
|
- android:visibility="gone"/>
|
|
|
-
|
|
|
- <com.wdkl.ncs.android.lib.widget.CustomRadioButton
|
|
|
- android:id="@+id/system_settings_radio_bt"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:button="@null"
|
|
|
- android:drawableLeft="@drawable/selt_set_icon"
|
|
|
- android:drawablePadding="10px"
|
|
|
- android:gravity="center"
|
|
|
- android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
- android:text="@string/str_settings"
|
|
|
- android:textSize="24sp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_weight="5"/>
|
|
|
-
|
|
|
- </RadioGroup>
|
|
|
- </LinearLayout>
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:button="@null"
|
|
|
+ android:drawableLeft="@drawable/shou_ye_no"
|
|
|
+ android:drawablePadding="10px"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/str_home"
|
|
|
+ android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
+ android:textSize="24sp" />
|
|
|
+
|
|
|
+ <com.wdkl.ncs.android.lib.widget.CustomRadioButton
|
|
|
+ android:id="@+id/broadcast_radio_bt"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:button="@null"
|
|
|
+ android:drawableLeft="@drawable/guang_bo"
|
|
|
+ android:drawablePadding="10px"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/str_broadcast"
|
|
|
+ android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
+ android:textSize="24sp"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ <com.wdkl.ncs.android.lib.widget.CustomRadioButton
|
|
|
+ android:id="@+id/visit_an_extension_radio_bt"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:button="@null"
|
|
|
+ android:drawableLeft="@drawable/selt_broadcast_icon"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/str_visiting"
|
|
|
+ android:textColor="#FFFFFF"
|
|
|
+ android:textSize="16sp"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ <com.wdkl.ncs.android.lib.widget.CustomRadioButton
|
|
|
+ android:id="@+id/doctor_host_radio_bt"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:button="@null"
|
|
|
+ android:drawableLeft="@drawable/ic_doctor"
|
|
|
+ android:drawablePadding="10px"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/str_doctor"
|
|
|
+ android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
+ android:textSize="24sp" />
|
|
|
+
|
|
|
+ <com.wdkl.ncs.android.lib.widget.CustomRadioButton
|
|
|
+ android:id="@+id/inpatient_ward_radio_bt"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:button="@null"
|
|
|
+ android:drawableLeft="@drawable/selt_inpatient_ward_icon"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/str_ward"
|
|
|
+ android:textColor="#FFFFFF"
|
|
|
+ android:textSize="16sp"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ <com.wdkl.ncs.android.lib.widget.CustomRadioButton
|
|
|
+ android:id="@+id/sickbed_radio_bt"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:button="@null"
|
|
|
+ android:drawableLeft="@drawable/selt_broadcast_icon"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/str_sick_bed"
|
|
|
+ android:textColor="#FFFFFF"
|
|
|
+ android:textSize="16sp"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ <com.wdkl.ncs.android.lib.widget.CustomRadioButton
|
|
|
+ android:id="@+id/nurse_move_radio_bt"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:button="@null"
|
|
|
+ android:drawableLeft="@drawable/selt_move_icon"
|
|
|
+ android:drawablePadding="10px"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/str_mobile"
|
|
|
+ android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
+ android:textSize="24sp" />
|
|
|
+
|
|
|
+ <com.wdkl.ncs.android.lib.widget.CustomRadioButton
|
|
|
+ android:id="@+id/other_host_radio_bt"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:button="@null"
|
|
|
+ android:drawableLeft="@drawable/selt_other_host_icon"
|
|
|
+ android:drawablePadding="10px"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/str_other_host"
|
|
|
+ android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
+ android:textSize="24sp" />
|
|
|
+
|
|
|
+ <com.wdkl.ncs.android.lib.widget.CustomRadioButton
|
|
|
+ android:id="@+id/collocation_radio_bt"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:button="@null"
|
|
|
+ android:drawableLeft="@drawable/selt_other_host_icon"
|
|
|
+ android:drawablePadding="10px"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/str_trusteeship"
|
|
|
+ android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
+ android:textSize="24sp" />
|
|
|
+
|
|
|
+ <com.wdkl.ncs.android.lib.widget.CustomRadioButton
|
|
|
+ android:id="@+id/led_settings_radio_bt"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:button="@null"
|
|
|
+ android:drawableLeft="@drawable/selt_set_icon"
|
|
|
+ android:drawablePadding="10px"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/str_led"
|
|
|
+ android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
+ android:textSize="24sp" />
|
|
|
+
|
|
|
+ <com.wdkl.ncs.android.lib.widget.BadgeRadioButton
|
|
|
+ android:id="@+id/nb_device_radio_bt"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:button="@null"
|
|
|
+ android:drawableLeft="@drawable/ic_nb_iot_device"
|
|
|
+ android:drawablePadding="10px"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/str_nb_iot"
|
|
|
+ android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
+ android:textSize="24sp" />
|
|
|
+
|
|
|
+ <com.wdkl.ncs.android.lib.widget.CustomRadioButton
|
|
|
+ android:id="@+id/note_message_radio_bt"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:button="@null"
|
|
|
+ android:drawableLeft="@drawable/ic_message"
|
|
|
+ android:drawablePadding="10dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/str_note_message"
|
|
|
+ android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
+ android:textSize="24sp"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ <com.wdkl.ncs.android.lib.widget.CustomRadioButton
|
|
|
+ android:id="@+id/system_settings_radio_bt"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:button="@null"
|
|
|
+ android:drawableLeft="@drawable/selt_set_icon"
|
|
|
+ android:drawablePadding="10px"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/str_settings"
|
|
|
+ android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
+ android:textSize="24sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="5" />
|
|
|
+
|
|
|
+ </RadioGroup>
|
|
|
</LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
<!--通话界面-->
|
|
|
<FrameLayout
|
|
@@ -367,15 +368,15 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:background="@color/white"
|
|
|
- android:orientation="vertical"
|
|
|
- android:gravity="center_horizontal">
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
<ImageView
|
|
|
android:id="@+id/home_view_qr_code"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
android:layout_width="280dp"
|
|
|
android:layout_height="280dp"
|
|
|
- android:layout_gravity="center_horizontal" />
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
+ android:layout_marginTop="10dp" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/home_view_device_model"
|
|
@@ -385,7 +386,7 @@
|
|
|
android:text="rom:"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="20sp"
|
|
|
- android:visibility="gone"/>
|
|
|
+ android:visibility="gone" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/home_view_local_ip"
|
|
@@ -427,7 +428,7 @@
|
|
|
android:text="MCU:"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="20sp"
|
|
|
- android:visibility="gone"/>
|
|
|
+ android:visibility="gone" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/home_view_device_state"
|
|
@@ -442,6 +443,7 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="20dp"
|
|
|
android:gravity="center">
|
|
|
+
|
|
|
<Button
|
|
|
android:id="@+id/btn_get_server"
|
|
|
android:layout_width="140dp"
|
|
@@ -449,7 +451,7 @@
|
|
|
android:background="#2F9DF1"
|
|
|
android:text="@string/register_auto_config"
|
|
|
android:textSize="20sp"
|
|
|
- android:visibility="gone"/>
|
|
|
+ android:visibility="gone" />
|
|
|
|
|
|
<Button
|
|
|
android:id="@+id/btn_set_debug"
|
|
@@ -495,6 +497,7 @@
|
|
|
android:background="#2F9DF1"
|
|
|
android:text="@string/register_reboot"
|
|
|
android:textSize="20sp" />
|
|
|
+
|
|
|
<Button
|
|
|
android:id="@+id/btn_test"
|
|
|
android:layout_width="140dp"
|