|
@@ -4,336 +4,478 @@
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
- android:fitsSystemWindows="true"
|
|
|
|
- android:background="#3978EC"
|
|
|
|
>
|
|
>
|
|
|
|
|
|
<include
|
|
<include
|
|
android:id="@+id/watch_activity_register_layout"
|
|
android:id="@+id/watch_activity_register_layout"
|
|
layout="@layout/watch_activity_register"
|
|
layout="@layout/watch_activity_register"
|
|
- android:visibility="gone"
|
|
|
|
/>
|
|
/>
|
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
|
+ <RelativeLayout
|
|
android:id="@+id/watch_activity_home_linyout"
|
|
android:id="@+id/watch_activity_home_linyout"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
- android:orientation="vertical"
|
|
|
|
- android:visibility="gone"
|
|
|
|
- >
|
|
|
|
|
|
+ android:background="#3978EC"
|
|
|
|
+ android:layout_below="@+id/watch_activity_register_layout"
|
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
|
+ >
|
|
|
|
+ <RelativeLayout
|
|
|
|
+ android:id="@+id/watch_activity_home_top_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
- android:layout_height="0dp"
|
|
|
|
- android:layout_weight="1">
|
|
|
|
|
|
+ android:layout_height="@dimen/d300">
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/watch_activity_home_tx_img"
|
|
|
|
+ android:layout_width="@dimen/d108"
|
|
|
|
+ android:layout_height="@dimen/d108"
|
|
|
|
+ android:src="@mipmap/mian_ts"
|
|
|
|
+ android:layout_centerVertical="true"
|
|
|
|
+ android:layout_marginLeft="@dimen/d20"
|
|
|
|
+ />
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/watch_activity_home_tx_sex"
|
|
|
|
+ android:layout_width="20dp"
|
|
|
|
+ android:layout_height="20dp"
|
|
|
|
+ android:layout_alignBottom="@+id/watch_activity_home_tx_img"
|
|
|
|
+ android:layout_alignRight="@+id/watch_activity_home_tx_img"
|
|
|
|
+ android:layout_marginBottom="@dimen/d10"
|
|
|
|
+ android:layout_marginRight="@dimen/d10"
|
|
|
|
+ android:src="@mipmap/nv"/>
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
- android:id="@+id/customer_list_linlyout"
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:layout_weight="1"
|
|
|
|
- android:background="#00B5DC"
|
|
|
|
- android:gravity="center"
|
|
|
|
- android:orientation="vertical">
|
|
|
|
-
|
|
|
|
- <ImageView
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:src="@drawable/gu_ke_lie_biao" />
|
|
|
|
-
|
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_toRightOf="@+id/watch_activity_home_tx_img"
|
|
|
|
+ android:layout_marginLeft="@dimen/d30"
|
|
|
|
+ android:layout_centerVertical="true"
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
+ >
|
|
<TextView
|
|
<TextView
|
|
|
|
+ android:id="@+id/watch_activity_home_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:layout_marginTop="10dp"
|
|
|
|
- android:text="@string/custom_title"
|
|
|
|
- android:textColor="#ffffff"
|
|
|
|
- android:textSize="16dp" />
|
|
|
|
|
|
+ android:textSize="@dimen/font_size_28"
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:textStyle="bold"
|
|
|
|
+ android:text="张晓芬"
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
+ />
|
|
|
|
|
|
- <LinearLayout
|
|
|
|
- android:id="@+id/call_records_linlyout"
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:layout_weight="1"
|
|
|
|
- android:background="#E56D37"
|
|
|
|
- android:gravity="center"
|
|
|
|
- android:orientation="vertical">
|
|
|
|
-
|
|
|
|
- <ImageView
|
|
|
|
|
|
+ <LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:src="@drawable/tong_hu_ji_lu" />
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/d20"
|
|
|
|
+ >
|
|
|
|
|
|
- <TextView
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_marginTop="10dp"
|
|
|
|
- android:text="@string/call_list"
|
|
|
|
- android:textColor="#ffffff"
|
|
|
|
- android:textSize="16dp" />
|
|
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/watch_activity_home_age"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:paddingTop="@dimen/d5"
|
|
|
|
+ android:paddingBottom="@dimen/d5"
|
|
|
|
+ android:paddingLeft="@dimen/d10"
|
|
|
|
+ android:paddingRight="@dimen/d10"
|
|
|
|
+ android:background="@drawable/shape_main_age_bg"
|
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:text="23岁"
|
|
|
|
+ />
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/watch_activity_home_job"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:paddingTop="@dimen/d5"
|
|
|
|
+ android:paddingBottom="@dimen/d5"
|
|
|
|
+ android:paddingLeft="@dimen/d10"
|
|
|
|
+ android:paddingRight="@dimen/d10"
|
|
|
|
+ android:background="@drawable/shape_main_age_bg"
|
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:text="骨科护士"
|
|
|
|
+ android:layout_marginLeft="@dimen/d18"
|
|
|
|
+
|
|
|
|
+ />
|
|
|
|
+
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/watch_activity_home_setting"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginRight="@dimen/d60"
|
|
|
|
+ android:paddingTop="@dimen/d10"
|
|
|
|
+ android:paddingBottom="@dimen/d10"
|
|
|
|
+ android:paddingLeft="@dimen/d20"
|
|
|
|
+ android:paddingRight="@dimen/d20"
|
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
|
+ android:textColor="@color/txt_number"
|
|
|
|
+ android:text="系统设置"
|
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
|
+ android:layout_centerVertical="true"
|
|
|
|
+ android:layout_marginLeft="@dimen/d18"
|
|
|
|
+ android:background="@drawable/shape_main_setting_bg"
|
|
|
|
+ />
|
|
|
|
+
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
- android:layout_height="0dp"
|
|
|
|
- android:layout_weight="1"
|
|
|
|
- android:orientation="horizontal">
|
|
|
|
-
|
|
|
|
- <RelativeLayout
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:layout_weight="1">
|
|
|
|
-
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/list_item_img_icon_num"
|
|
|
|
- android:layout_width="10dp"
|
|
|
|
- android:layout_height="10dp"
|
|
|
|
- android:layout_alignParentRight="true"
|
|
|
|
- android:background="@drawable/shape_untreated_quantity"
|
|
|
|
- android:gravity="center"
|
|
|
|
- android:textColor="#FF3030"
|
|
|
|
- android:textSize="12sp" />
|
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:layout_below="@+id/watch_activity_home_top_view"
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
+ android:background="@drawable/shape_main_bottom_bg"
|
|
|
|
+ >
|
|
|
|
|
|
- <View
|
|
|
|
- android:id="@+id/view_center"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="0dp"
|
|
|
|
- android:layout_centerInParent="true"/>
|
|
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/watch_activity_home_call_list_ll"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_margin="@dimen/d20"
|
|
|
|
+ android:clickable="true"
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ >
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
- android:id="@+id/channel_im_layout"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:gravity="center"
|
|
|
|
- android:layout_alignParentBottom="true"
|
|
|
|
- android:layout_below="@id/view_center"
|
|
|
|
- android:background="#F78B8F"
|
|
|
|
- android:orientation="vertical">
|
|
|
|
|
|
+ android:layout_width="@dimen/d250"
|
|
|
|
+ android:layout_height="@dimen/d220"
|
|
|
|
+ android:background="@mipmap/tong"
|
|
|
|
+ android:gravity="center_horizontal"
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
+ >
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
- android:layout_width="match_parent"
|
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:gravity="center"
|
|
|
|
- android:textColor="#ffffff"
|
|
|
|
- android:textSize="16sp"
|
|
|
|
- android:text="@string/group_message"/>
|
|
|
|
-
|
|
|
|
|
|
+ android:text="通话列表"
|
|
|
|
+ android:textStyle="bold"
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:textSize="@dimen/font_size_24"
|
|
|
|
+ android:layout_marginTop="@dimen/d20"
|
|
|
|
+ />
|
|
<TextView
|
|
<TextView
|
|
- android:id="@+id/tv_im_count"
|
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:textColor="#ffffff"
|
|
|
|
- android:textSize="12sp"
|
|
|
|
- android:text="0"/>
|
|
|
|
|
|
+ android:text="来电/未接/呼出"
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:textSize="@dimen/font_size_12"
|
|
|
|
+ android:layout_marginTop="@dimen/d10"
|
|
|
|
+ />
|
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
- android:id="@+id/user_name_linlyout"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:layout_above="@id/channel_im_layout"
|
|
|
|
- android:gravity="center"
|
|
|
|
|
|
+ android:id="@+id/watch_activity_home_people_list_ll"
|
|
|
|
+ android:layout_width="@dimen/d250"
|
|
|
|
+ android:layout_height="@dimen/d220"
|
|
|
|
+ android:background="@mipmap/gu"
|
|
android:orientation="vertical"
|
|
android:orientation="vertical"
|
|
- android:background="#5CB615">
|
|
|
|
-
|
|
|
|
- <ImageView
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_marginTop="10dp"
|
|
|
|
- android:src="@drawable/hu_shi_to_xiang" />
|
|
|
|
-
|
|
|
|
- <com.wdkl.ncs.android.lib.widget.MarqueeTextView
|
|
|
|
- android:id="@+id/watch_name_tv"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_marginTop="2dp"
|
|
|
|
- android:paddingStart="5dp"
|
|
|
|
- android:paddingEnd="5dp"
|
|
|
|
- android:textColor="#ffffff"
|
|
|
|
- android:textSize="16sp"
|
|
|
|
- android:singleLine="true"
|
|
|
|
- android:ellipsize="marquee"
|
|
|
|
- android:focusable="true"
|
|
|
|
- android:focusableInTouchMode="true"/>
|
|
|
|
|
|
+ android:gravity="center_horizontal"
|
|
|
|
+ android:layout_marginLeft="@dimen/d30"
|
|
|
|
+ >
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
- android:id="@+id/watch_role_name_tv"
|
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:layout_marginTop="2dp"
|
|
|
|
- android:textColor="#ffffff"
|
|
|
|
- android:textSize="16sp"
|
|
|
|
- android:visibility="gone"/>
|
|
|
|
-
|
|
|
|
|
|
+ android:text="@string/custom_title"
|
|
|
|
+ android:textStyle="bold"
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:textSize="@dimen/font_size_24"
|
|
|
|
+ android:layout_marginTop="@dimen/d20"
|
|
|
|
+ />
|
|
<TextView
|
|
<TextView
|
|
- android:id="@+id/watch_user_phone_tv"
|
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:layout_marginTop="2dp"
|
|
|
|
- android:textColor="#ffffff"
|
|
|
|
- android:textSize="14sp" />
|
|
|
|
|
|
+ android:text="负责的病人"
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:textSize="@dimen/font_size_12"
|
|
|
|
+ android:layout_marginTop="@dimen/d10"
|
|
|
|
+ />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ <RelativeLayout
|
|
|
|
+ android:id="@+id/watch_activity_home_msg_ll"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
+ android:background="@drawable/shape_bed_bg"
|
|
|
|
+ android:padding="@dimen/d30"
|
|
|
|
+ android:layout_margin="@dimen/d20"
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
+ >
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/watch_activity_home_msg_img"
|
|
|
|
+ android:layout_width="@dimen/d40"
|
|
|
|
+ android:layout_height="@dimen/d40"
|
|
|
|
+ android:background="@mipmap/qun"
|
|
|
|
+ />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/watch_activity_home_msg_title"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_toRightOf="@+id/watch_activity_home_msg_img"
|
|
|
|
+ android:text="群留言列表"
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
+ android:textSize="@dimen/font_size_24"
|
|
|
|
+ android:layout_marginLeft="@dimen/d30"
|
|
|
|
+ />
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/watch_activity_home_msg_tx"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:paddingRight="@dimen/d10"
|
|
|
|
+ android:paddingLeft="@dimen/d10"
|
|
|
|
+ android:paddingTop="@dimen/d1"
|
|
|
|
+ android:paddingBottom="@dimen/d1"
|
|
|
|
+ android:layout_marginRight="@dimen/d30"
|
|
|
|
+ android:layout_toLeftOf="@+id/watch_activity_home_msg_img2"
|
|
|
|
+ android:text="1"
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:textSize="@dimen/font_size_24"
|
|
|
|
+ android:textStyle="bold"
|
|
|
|
+ android:visibility="gone"
|
|
|
|
+ android:background="@drawable/shape_untreated_quantity"
|
|
|
|
+
|
|
|
|
+ />
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/watch_activity_home_msg_img2"
|
|
|
|
+ android:layout_width="@dimen/d10"
|
|
|
|
+ android:layout_height="@dimen/d20"
|
|
|
|
+ android:background="@mipmap/jian"
|
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
|
+ android:layout_centerVertical="true"
|
|
|
|
+ />
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
+ <RelativeLayout
|
|
|
|
+ android:id="@+id/watch_activity_home_room_ll"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
+ android:background="@drawable/shape_bed_bg"
|
|
|
|
+ android:padding="@dimen/d30"
|
|
|
|
+ android:layout_margin="@dimen/d20"
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
+ >
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/watch_activity_home_room_img"
|
|
|
|
+ android:layout_width="@dimen/d40"
|
|
|
|
+ android:layout_height="@dimen/d40"
|
|
|
|
+ android:background="@mipmap/fang"
|
|
|
|
+ />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/watch_activity_home_room_title"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_toRightOf="@+id/watch_activity_home_room_img"
|
|
|
|
+ android:text="房间列表"
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
+ android:textSize="@dimen/font_size_24"
|
|
|
|
+ android:layout_marginLeft="@dimen/d30"
|
|
|
|
+ />
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/watch_activity_home_room_tx"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:paddingRight="@dimen/d10"
|
|
|
|
+ android:paddingLeft="@dimen/d10"
|
|
|
|
+ android:paddingTop="@dimen/d1"
|
|
|
|
+ android:paddingBottom="@dimen/d1"
|
|
|
|
+ android:layout_marginRight="@dimen/d30"
|
|
|
|
+ android:layout_toLeftOf="@+id/watch_activity_home_room_img2"
|
|
|
|
+ android:text="1"
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:textSize="@dimen/font_size_24"
|
|
|
|
+ android:textStyle="bold"
|
|
|
|
+ android:visibility="gone"
|
|
|
|
+ android:background="@drawable/shape_untreated_quantity"
|
|
|
|
+
|
|
|
|
+ />
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/watch_activity_home_room_img2"
|
|
|
|
+ android:layout_width="@dimen/d10"
|
|
|
|
+ android:layout_height="@dimen/d20"
|
|
|
|
+ android:background="@mipmap/jian"
|
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
|
+ android:layout_centerVertical="true"
|
|
|
|
+ />
|
|
|
|
+ </RelativeLayout>
|
|
|
|
+
|
|
|
|
+ <RelativeLayout
|
|
|
|
+ android:id="@+id/watch_activity_home_colleagues_ll"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
+ android:background="@drawable/shape_bed_bg"
|
|
|
|
+ android:padding="@dimen/d30"
|
|
|
|
+ android:layout_margin="@dimen/d20"
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
+ >
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/watch_activity_home_colleagues_img"
|
|
|
|
+ android:layout_width="@dimen/d40"
|
|
|
|
+ android:layout_height="@dimen/d40"
|
|
|
|
+ android:background="@mipmap/ts"
|
|
|
|
+ />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/watch_activity_home_colleagues_title"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_toRightOf="@+id/watch_activity_home_colleagues_img"
|
|
|
|
+ android:text="同事列表"
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
+ android:textSize="@dimen/font_size_24"
|
|
|
|
+ android:layout_marginLeft="@dimen/d30"
|
|
|
|
+ />
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/watch_activity_home_colleagues_tx"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:paddingRight="@dimen/d10"
|
|
|
|
+ android:paddingLeft="@dimen/d10"
|
|
|
|
+ android:paddingTop="@dimen/d1"
|
|
|
|
+ android:paddingBottom="@dimen/d1"
|
|
|
|
+ android:layout_marginRight="@dimen/d30"
|
|
|
|
+ android:layout_toLeftOf="@+id/watch_activity_home_colleagues_img2"
|
|
|
|
+ android:text="1"
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:textSize="@dimen/font_size_24"
|
|
|
|
+ android:textStyle="bold"
|
|
|
|
+ android:visibility="gone"
|
|
|
|
+ android:background="@drawable/shape_untreated_quantity"
|
|
|
|
+
|
|
|
|
+ />
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/watch_activity_home_colleagues_img2"
|
|
|
|
+ android:layout_width="@dimen/d10"
|
|
|
|
+ android:layout_height="@dimen/d20"
|
|
|
|
+ android:background="@mipmap/jian"
|
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
|
+ android:layout_centerVertical="true"
|
|
|
|
+ />
|
|
|
|
+ </RelativeLayout>
|
|
|
|
+
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
|
+ android:layout_marginRight="@dimen/d20"
|
|
|
|
+ android:layout_marginLeft="@dimen/d20"
|
|
|
|
+ android:layout_marginBottom="@dimen/d40"
|
|
|
|
+ android:paddingTop="@dimen/d20"
|
|
|
|
+ android:paddingBottom="@dimen/d20"
|
|
|
|
+ android:paddingLeft="@dimen/d30"
|
|
|
|
+ android:paddingRight="@dimen/d30"
|
|
|
|
+ android:background="@drawable/shape_main_hos_txt_bg"
|
|
|
|
+ >
|
|
|
|
+
|
|
<LinearLayout
|
|
<LinearLayout
|
|
- android:id="@+id/state_linlyout"
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:gravity="center"
|
|
- android:orientation="vertical">
|
|
|
|
-
|
|
|
|
- <LinearLayout
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="0dp"
|
|
|
|
- android:layout_weight="1"
|
|
|
|
- android:orientation="horizontal">
|
|
|
|
-
|
|
|
|
- <LinearLayout
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:layout_weight="1"
|
|
|
|
- android:background="#EA89C0"
|
|
|
|
- android:gravity="center"
|
|
|
|
- android:orientation="vertical">
|
|
|
|
-
|
|
|
|
- <ImageView
|
|
|
|
- android:src="@drawable/icons8_signal_90"
|
|
|
|
- android:layout_width="18dp"
|
|
|
|
- android:layout_height="18dp"/>
|
|
|
|
-
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/tv_signal_strength"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:textColor="#ffffff"
|
|
|
|
- android:textSize="12sp" />
|
|
|
|
- </LinearLayout>
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- <LinearLayout
|
|
|
|
- android:id="@+id/ll_clerk_list"
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:layout_weight="1"
|
|
|
|
- android:background="#5C34A9"
|
|
|
|
- android:orientation="vertical"
|
|
|
|
- android:gravity="center">
|
|
|
|
-
|
|
|
|
- <ImageView
|
|
|
|
- android:layout_width="18dp"
|
|
|
|
- android:layout_height="18dp"
|
|
|
|
- android:src="@drawable/icons8_users_90" />
|
|
|
|
-
|
|
|
|
- <TextView
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:text="@string/colleague"
|
|
|
|
- android:textColor="#ffffff"
|
|
|
|
- android:textSize="12sp" />
|
|
|
|
-
|
|
|
|
- </LinearLayout>
|
|
|
|
-
|
|
|
|
|
|
+ >
|
|
|
|
+ <ImageView
|
|
|
|
+ android:layout_width="@dimen/d30"
|
|
|
|
+ android:layout_height="@dimen/d20"
|
|
|
|
+ android:background="@mipmap/wifi"
|
|
|
|
+ />
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/watch_activity_home_btoom_network"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:text="WBDL-5G"
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:textSize="@dimen/font_size_16"
|
|
|
|
+ android:layout_marginLeft="@dimen/d10"
|
|
|
|
+ />
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ >
|
|
|
|
+ <ImageView
|
|
|
|
+ android:layout_width="@dimen/d25"
|
|
|
|
+ android:layout_height="@dimen/d20"
|
|
|
|
+ android:background="@mipmap/tuo"
|
|
|
|
+ />
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/watch_activity_home_btoom_type"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:text="未托管"
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:textSize="@dimen/font_size_16"
|
|
|
|
+ android:layout_marginLeft="@dimen/d10"
|
|
|
|
+ />
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="0dp"
|
|
|
|
- android:layout_weight="1"
|
|
|
|
- android:orientation="horizontal">
|
|
|
|
-
|
|
|
|
- <LinearLayout
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:layout_weight="1"
|
|
|
|
- android:background="#48CFB0"
|
|
|
|
- android:gravity="center"
|
|
|
|
- android:orientation="vertical">
|
|
|
|
-
|
|
|
|
- <ImageView
|
|
|
|
- android:id="@+id/electric_quantity_imagev"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:src="@drawable/dian_liang" />
|
|
|
|
-
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/electric_quantity_tv"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:text="-"
|
|
|
|
- android:textColor="#ffffff"
|
|
|
|
- android:textSize="16sp" />
|
|
|
|
-
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/battery_warning_tv"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:text=""
|
|
|
|
- android:textColor="#ffffff"
|
|
|
|
- android:textSize="16sp"
|
|
|
|
- android:visibility="gone" />
|
|
|
|
- </LinearLayout>
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- <LinearLayout
|
|
|
|
- android:id="@+id/other_linyout"
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:layout_weight="1"
|
|
|
|
- android:background="#FFDE00"
|
|
|
|
- android:gravity="center"
|
|
|
|
- android:orientation="vertical">
|
|
|
|
-
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/sip_state_tv"
|
|
|
|
- android:layout_width="8dp"
|
|
|
|
- android:layout_height="8dp"
|
|
|
|
- android:background="#FF0000"
|
|
|
|
- />
|
|
|
|
-
|
|
|
|
- <ImageView
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_marginTop="2dp"
|
|
|
|
- android:src="@drawable/geng_duo" />
|
|
|
|
-
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/tv_net_reconnect_text"
|
|
|
|
- android:visibility="gone"
|
|
|
|
- android:text="@string/reconnect"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:textColor="@color/warn_orange"
|
|
|
|
- />
|
|
|
|
-
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ >
|
|
|
|
+ <ImageView
|
|
|
|
+ android:layout_width="@dimen/d15"
|
|
|
|
+ android:layout_height="@dimen/d20"
|
|
|
|
+ android:background="@mipmap/dian"
|
|
|
|
+ />
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/watch_activity_home_btoom_Power"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginLeft="@dimen/d10"
|
|
|
|
+ android:text="90%"
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:textSize="@dimen/font_size_16" />
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ >
|
|
|
|
+ <ImageView
|
|
|
|
+ android:layout_width="@dimen/d25"
|
|
|
|
+ android:layout_height="@dimen/d20"
|
|
|
|
+ android:background="@mipmap/ic_tcp_fail"
|
|
|
|
+ />
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/watch_activity_home_btoom_tcp"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:text="@string/tcp_connect_success"
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:textSize="@dimen/font_size_16"
|
|
|
|
+ android:layout_marginLeft="@dimen/d10"
|
|
|
|
+ />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/tv_register_version"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:textSize="12sp"
|
|
|
|
- android:text="version"
|
|
|
|
- android:textColor="@color/color_white"
|
|
|
|
- android:layout_marginTop="5dp"
|
|
|
|
- android:layout_marginEnd="5dp"
|
|
|
|
- android:gravity="center"
|
|
|
|
- android:layout_alignParentEnd="true"/>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|
|
</layout>
|
|
</layout>
|