|
@@ -1,176 +1,180 @@
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
- android:id="@+id/view_calling_bed_layout_title"
|
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="42dp">
|
|
android:layout_height="42dp">
|
|
|
|
|
|
- <!--设备号-->
|
|
|
|
- <LinearLayout
|
|
|
|
- android:id="@+id/view_title_layout_return"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_centerVertical="true"
|
|
|
|
- android:layout_marginLeft="20dp"
|
|
|
|
- android:background="@drawable/shape_main_hos_txt_bg"
|
|
|
|
- android:clickable="true"
|
|
|
|
- android:focusable="true"
|
|
|
|
- android:gravity="center"
|
|
|
|
- android:orientation="horizontal"
|
|
|
|
- android:paddingLeft="10dp"
|
|
|
|
- android:paddingRight="10dp">
|
|
|
|
|
|
+ <RelativeLayout
|
|
|
|
+ android:id="@+id/view_calling_bed_layout_title"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="42dp">
|
|
|
|
|
|
- <ImageView
|
|
|
|
- android:id="@+id/view_title_layout_img"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
|
- android:layout_marginRight="6dp"
|
|
|
|
- android:background="@mipmap/return_w"
|
|
|
|
- android:visibility="gone" />
|
|
|
|
- <!--医院名称-->
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/view_title_layout_tv_hospital_name"
|
|
|
|
|
|
+ <!--设备号-->
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/view_title_layout_return"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:ellipsize="marquee"
|
|
|
|
- android:singleLine="true"
|
|
|
|
- android:text="科室名称"
|
|
|
|
- android:textColor="@color/white"
|
|
|
|
- android:textSize="@dimen/font_size_18" />
|
|
|
|
- </LinearLayout>
|
|
|
|
-
|
|
|
|
- <ImageView
|
|
|
|
- android:id="@+id/view_title_layout_tv_no_img"
|
|
|
|
- android:layout_width="@dimen/d22"
|
|
|
|
- android:layout_height="@dimen/d22"
|
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
|
- android:layout_centerVertical="true"
|
|
|
|
- android:layout_marginRight="10dp"
|
|
|
|
- android:layout_toLeftOf="@+id/view_title_layout_tv_no"
|
|
|
|
- android:background="@mipmap/dun"
|
|
|
|
- android:visibility="gone" />
|
|
|
|
-
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/view_title_layout_tv_no"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
|
- android:layout_centerVertical="true"
|
|
|
|
- android:layout_marginRight="10dp"
|
|
|
|
- android:text="ID:"
|
|
|
|
- android:textColor="@color/black"
|
|
|
|
- android:textSize="@dimen/font_size_18"
|
|
|
|
- android:visibility="gone" />
|
|
|
|
|
|
+ android:layout_centerVertical="true"
|
|
|
|
+ android:layout_marginLeft="20dp"
|
|
|
|
+ android:background="@drawable/shape_main_hos_txt_bg"
|
|
|
|
+ android:clickable="true"
|
|
|
|
+ android:focusable="true"
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
+ android:paddingLeft="10dp"
|
|
|
|
+ android:paddingRight="10dp">
|
|
|
|
|
|
- <!--状态图标-->
|
|
|
|
- <LinearLayout
|
|
|
|
- android:id="@+id/view_title_layout_ll_right"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_alignParentRight="true"
|
|
|
|
- android:layout_centerVertical="true"
|
|
|
|
- android:layout_marginRight="10dp"
|
|
|
|
- android:orientation="horizontal">
|
|
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/view_title_layout_img"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
|
+ android:layout_marginRight="6dp"
|
|
|
|
+ android:background="@mipmap/return_w"
|
|
|
|
+ android:visibility="gone" />
|
|
|
|
+ <!--医院名称-->
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/view_title_layout_tv_hospital_name"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:ellipsize="marquee"
|
|
|
|
+ android:singleLine="true"
|
|
|
|
+ android:text="科室名称"
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:textSize="@dimen/font_size_18" />
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
<ImageView
|
|
<ImageView
|
|
- android:id="@+id/view_title_lay_day_img"
|
|
|
|
- android:layout_width="@dimen/d18"
|
|
|
|
- android:layout_height="@dimen/d18"
|
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
|
- android:layout_marginLeft="4dp"
|
|
|
|
- android:layout_marginRight="4dp"
|
|
|
|
- android:background="@mipmap/riqi" />
|
|
|
|
- <!--日期-->
|
|
|
|
- <TextClock
|
|
|
|
- android:id="@+id/view_title_lay_day_tx"
|
|
|
|
|
|
+ android:id="@+id/view_title_layout_tv_no_img"
|
|
|
|
+ android:layout_width="@dimen/d22"
|
|
|
|
+ android:layout_height="@dimen/d22"
|
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
|
+ android:layout_centerVertical="true"
|
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
|
+ android:layout_toLeftOf="@+id/view_title_layout_tv_no"
|
|
|
|
+ android:background="@mipmap/dun"
|
|
|
|
+ android:visibility="gone" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/view_title_layout_tv_no"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:layout_gravity="center_vertical"
|
|
|
|
- android:layout_marginLeft="@dimen/d5"
|
|
|
|
- android:format12Hour="yyyy-MM-dd EEEE"
|
|
|
|
- android:format24Hour="yyyy-MM-dd EEEE"
|
|
|
|
- android:text="16:08"
|
|
|
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
|
+ android:layout_centerVertical="true"
|
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
|
+ android:text="ID:"
|
|
android:textColor="@color/black"
|
|
android:textColor="@color/black"
|
|
- android:textSize="@dimen/font_size_18" />
|
|
|
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
|
+ android:visibility="gone" />
|
|
|
|
|
|
- <ImageView
|
|
|
|
- android:id="@+id/view_title_lay_time_img"
|
|
|
|
- android:layout_width="@dimen/d18"
|
|
|
|
- android:layout_height="@dimen/d18"
|
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
|
- android:layout_marginLeft="@dimen/d23"
|
|
|
|
- android:layout_marginRight="4dp"
|
|
|
|
- android:background="@mipmap/shijian" />
|
|
|
|
- <!--时间-->
|
|
|
|
- <TextClock
|
|
|
|
- android:id="@+id/view_title_lay_time_tx"
|
|
|
|
|
|
+ <!--状态图标-->
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/view_title_layout_ll_right"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:layout_gravity="center_vertical"
|
|
|
|
- android:layout_marginLeft="@dimen/d5"
|
|
|
|
- android:layout_marginRight="@dimen/d30"
|
|
|
|
- android:format12Hour="HH:mm"
|
|
|
|
- android:format24Hour="HH:mm"
|
|
|
|
- android:text="16:08"
|
|
|
|
- android:textColor="@color/black"
|
|
|
|
- android:textSize="@dimen/font_size_18" />
|
|
|
|
-
|
|
|
|
- <!--SIP状态图标-->
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/view_title_layout_tv_point"
|
|
|
|
- android:layout_width="20dp"
|
|
|
|
- android:layout_height="20dp"
|
|
|
|
|
|
+ android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:layout_centerVertical="true"
|
|
- android:layout_marginLeft="4dp"
|
|
|
|
- android:layout_marginRight="4dp"
|
|
|
|
- android:background="@mipmap/sip_b"
|
|
|
|
- android:visibility="gone" />
|
|
|
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <ImageView
|
|
|
|
- android:id="@+id/view_title_layout_iv_bt"
|
|
|
|
- android:layout_width="20dp"
|
|
|
|
- android:layout_height="20dp"
|
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
|
- android:layout_marginLeft="4dp"
|
|
|
|
- android:layout_marginRight="4dp"
|
|
|
|
- android:visibility="gone" />
|
|
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/view_title_lay_day_img"
|
|
|
|
+ android:layout_width="@dimen/d18"
|
|
|
|
+ android:layout_height="@dimen/d18"
|
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
|
+ android:layout_marginLeft="4dp"
|
|
|
|
+ android:layout_marginRight="4dp"
|
|
|
|
+ android:background="@mipmap/riqi" />
|
|
|
|
+ <!--日期-->
|
|
|
|
+ <TextClock
|
|
|
|
+ android:id="@+id/view_title_lay_day_tx"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
|
+ android:layout_marginLeft="@dimen/d5"
|
|
|
|
+ android:format12Hour="yyyy-MM-dd EEEE"
|
|
|
|
+ android:format24Hour="yyyy-MM-dd EEEE"
|
|
|
|
+ android:text="16:08"
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
+ android:textSize="@dimen/font_size_18" />
|
|
|
|
|
|
- <ImageView
|
|
|
|
- android:id="@+id/view_title_layout_iv_wifi"
|
|
|
|
- android:layout_width="20dp"
|
|
|
|
- android:layout_height="20dp"
|
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
|
- android:layout_marginLeft="4dp"
|
|
|
|
- android:layout_marginRight="4dp"
|
|
|
|
- android:visibility="gone" />
|
|
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/view_title_lay_time_img"
|
|
|
|
+ android:layout_width="@dimen/d18"
|
|
|
|
+ android:layout_height="@dimen/d18"
|
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
|
+ android:layout_marginLeft="@dimen/d23"
|
|
|
|
+ android:layout_marginRight="4dp"
|
|
|
|
+ android:background="@mipmap/shijian" />
|
|
|
|
+ <!--时间-->
|
|
|
|
+ <TextClock
|
|
|
|
+ android:id="@+id/view_title_lay_time_tx"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
|
+ android:layout_marginLeft="@dimen/d5"
|
|
|
|
+ android:layout_marginRight="@dimen/d30"
|
|
|
|
+ android:format12Hour="HH:mm"
|
|
|
|
+ android:format24Hour="HH:mm"
|
|
|
|
+ android:text="16:08"
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
+ android:textSize="@dimen/font_size_18" />
|
|
|
|
|
|
- <ImageView
|
|
|
|
- android:id="@+id/view_title_layout_iv_tcp"
|
|
|
|
- android:layout_width="20dp"
|
|
|
|
- android:layout_height="20dp"
|
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
|
- android:layout_marginLeft="4dp"
|
|
|
|
- android:layout_marginRight="4dp"
|
|
|
|
- android:src="@mipmap/ic_tcp_fail" />
|
|
|
|
|
|
+ <!--SIP状态图标-->
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/view_title_layout_tv_point"
|
|
|
|
+ android:layout_width="20dp"
|
|
|
|
+ android:layout_height="20dp"
|
|
|
|
+ android:layout_centerVertical="true"
|
|
|
|
+ android:layout_marginLeft="4dp"
|
|
|
|
+ android:layout_marginRight="4dp"
|
|
|
|
+ android:background="@mipmap/sip_b"
|
|
|
|
+ android:visibility="gone" />
|
|
|
|
|
|
- <ImageView
|
|
|
|
- android:id="@+id/view_title_layout_iv_ethernet"
|
|
|
|
- android:layout_width="20dp"
|
|
|
|
- android:layout_height="20dp"
|
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
|
- android:layout_marginLeft="4dp"
|
|
|
|
- android:layout_marginRight="4dp"
|
|
|
|
- android:visibility="gone" />
|
|
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/view_title_layout_iv_bt"
|
|
|
|
+ android:layout_width="20dp"
|
|
|
|
+ android:layout_height="20dp"
|
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
|
+ android:layout_marginLeft="4dp"
|
|
|
|
+ android:layout_marginRight="4dp"
|
|
|
|
+ android:visibility="gone" />
|
|
|
|
|
|
- <ImageView
|
|
|
|
- android:id="@+id/view_title_layout_iv_day_night"
|
|
|
|
- android:layout_width="20dp"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
|
- android:layout_marginLeft="4dp"
|
|
|
|
- android:layout_marginRight="4dp"
|
|
|
|
- android:src="@mipmap/ic_daylight" />
|
|
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/view_title_layout_iv_wifi"
|
|
|
|
+ android:layout_width="20dp"
|
|
|
|
+ android:layout_height="20dp"
|
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
|
+ android:layout_marginLeft="4dp"
|
|
|
|
+ android:layout_marginRight="4dp"
|
|
|
|
+ android:visibility="gone" />
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/view_title_layout_iv_tcp"
|
|
|
|
+ android:layout_width="20dp"
|
|
|
|
+ android:layout_height="20dp"
|
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
|
+ android:layout_marginLeft="4dp"
|
|
|
|
+ android:layout_marginRight="4dp"
|
|
|
|
+ android:src="@mipmap/ic_tcp_fail" />
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/view_title_layout_iv_ethernet"
|
|
|
|
+ android:layout_width="20dp"
|
|
|
|
+ android:layout_height="20dp"
|
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
|
+ android:layout_marginLeft="4dp"
|
|
|
|
+ android:layout_marginRight="4dp"
|
|
|
|
+ android:visibility="gone" />
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/view_title_layout_iv_day_night"
|
|
|
|
+ android:layout_width="20dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
|
+ android:layout_marginLeft="4dp"
|
|
|
|
+ android:layout_marginRight="4dp"
|
|
|
|
+ android:src="@mipmap/ic_daylight" />
|
|
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
+ </RelativeLayout>
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|