|
@@ -1,49 +1,54 @@
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
-<LinearLayout
|
|
|
|
- xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
|
+<LinearLayout 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:background="#FFBDC3"
|
|
android:orientation="vertical">
|
|
android:orientation="vertical">
|
|
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/tv_device_id"
|
|
|
|
|
|
+ <LinearLayout
|
|
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:layout_marginLeft="20dp"
|
|
android:layout_marginLeft="20dp"
|
|
- android:text="设备ID: --"/>
|
|
|
|
-
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/tv_device_mac"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="10dp"
|
|
android:layout_marginTop="10dp"
|
|
- android:layout_marginLeft="20dp"
|
|
|
|
- android:text="设备MAC: --"/>
|
|
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/tv_device_ip"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_marginTop="10dp"
|
|
|
|
- android:layout_marginLeft="20dp"
|
|
|
|
- android:text="设备IP: --"/>
|
|
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tv_device_id"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:text="设备ID: --"
|
|
|
|
+ android:textSize="16dp" />
|
|
|
|
|
|
- <TextView
|
|
|
|
- android:id="@+id/tv_device_user_name"
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:layout_marginTop="10dp"
|
|
|
|
- android:layout_marginLeft="20dp"
|
|
|
|
- android:text="当前用户: 王护士"/>
|
|
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tv_device_mac"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:text="设备MAC: --"
|
|
|
|
+ android:textSize="16dp" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tv_device_ip"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:text="设备IP: --"
|
|
|
|
+ android:textSize="16dp" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tv_device_user_name"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:text="当前用户: 王护士"
|
|
|
|
+ android:textSize="16dp" />
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
<Button
|
|
<Button
|
|
android:id="@+id/btn_user_change"
|
|
android:id="@+id/btn_user_change"
|
|
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:layout_gravity="center_horizontal"
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
+ android:layout_marginTop="10dp"
|
|
android:background="#00B5DC"
|
|
android:background="#00B5DC"
|
|
android:text="换班"
|
|
android:text="换班"
|
|
- android:textColor="@drawable/selector_button_text_color"/>
|
|
|
|
|
|
+ android:textColor="@drawable/selector_button_text_color"
|
|
|
|
+ android:textSize="16dp" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|