|
@@ -12,138 +12,157 @@
|
|
|
android:layout_height="match_parent"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_marginTop="15dp"
|
|
|
+ android:gravity="center_horizontal">
|
|
|
+ <ImageView
|
|
|
+ android:src="@mipmap/launcher"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="20dp"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
+ android:padding="10dp"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_device_id"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="设备ID: --"
|
|
|
- android:textSize="16dp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_device_mac"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:orientation="horizontal">
|
|
|
+ <TextView
|
|
|
+ android:text="版本"
|
|
|
+ android:textSize="14dp"
|
|
|
+ android:textColor="@color/javashop_color_searcher_tv_gray"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="right">
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_app_version"
|
|
|
+ android:textSize="14dp"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="设备MAC: --"
|
|
|
- android:textSize="16dp" />
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_device_imei"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:orientation="horizontal">
|
|
|
+ <TextView
|
|
|
+ android:text="设备ID"
|
|
|
+ android:textSize="14dp"
|
|
|
+ android:textColor="@color/javashop_color_searcher_tv_gray"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="right">
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_device_id"
|
|
|
+ android:textSize="14dp"
|
|
|
+ android:textColor="@color/javashop_color_searcher_tv_gray"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="设备识别码: --"
|
|
|
- android:textSize="16dp" />
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_device_ip"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:orientation="horizontal">
|
|
|
+ <TextView
|
|
|
+ android:text="设备标识码"
|
|
|
+ android:textSize="14dp"
|
|
|
+ android:textColor="@color/javashop_color_searcher_tv_gray"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="right">
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_device_imei"
|
|
|
+ android:textSize="14dp"
|
|
|
+ android:textColor="@color/javashop_color_searcher_tv_gray"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="设备IP: --"
|
|
|
- android:textSize="16dp" />
|
|
|
+ android:orientation="horizontal">
|
|
|
+ <TextView
|
|
|
+ android:text="设备IP"
|
|
|
+ android:textSize="14dp"
|
|
|
+ android:textColor="@color/javashop_color_searcher_tv_gray"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="right">
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_device_ip"
|
|
|
+ android:textSize="14dp"
|
|
|
+ android:textColor="@color/javashop_color_searcher_tv_gray"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_device_user_name"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="当前用户: ---"
|
|
|
- android:textSize="16dp" />
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_device_user_role_name"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="用户角色: ---"
|
|
|
- android:textSize="16dp" />
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <Button
|
|
|
- android:id="@+id/btn_user_change"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="center_horizontal"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:background="#00B5DC"
|
|
|
- android:text="换班"
|
|
|
- android:textColor="@drawable/selector_button_text_color"
|
|
|
- android:textSize="16dp" />
|
|
|
-
|
|
|
-
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="10px"
|
|
|
- android:layout_marginTop="20px"
|
|
|
- android:layout_marginRight="10px"
|
|
|
- android:layout_marginBottom="30px"
|
|
|
- android:orientation="vertical"
|
|
|
- android:visibility="gone">
|
|
|
+ android:padding="10dp"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/countdown_time_tv"
|
|
|
+ <Button
|
|
|
+ android:id="@+id/btn_user_change"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="20px"
|
|
|
- android:text="转接时间:"
|
|
|
- android:textSize="16dp" />
|
|
|
-
|
|
|
- <SeekBar
|
|
|
- android:id="@+id/countdown_time_seekb"
|
|
|
- android:layout_width="match_parent"
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
+ android:background="@drawable/javashop_btn_balck_line_bg"
|
|
|
+ android:text="换班"
|
|
|
+ android:textSize="14dp" />
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/btn_check_update"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
+ android:background="@drawable/javashop_btn_balck_line_bg"
|
|
|
+ android:text="检查升级"
|
|
|
+ android:textSize="14dp" />
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/btn_system_setting"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="20px"
|
|
|
- android:max="25"
|
|
|
- android:maxHeight="2px"
|
|
|
- android:progress="15" />
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
+ android:background="@drawable/javashop_btn_balck_line_bg"
|
|
|
+ android:text="系统设置"
|
|
|
+ android:textSize="14dp" />
|
|
|
+
|
|
|
</LinearLayout>
|
|
|
- <TextView
|
|
|
- android:id="@+id/version_information_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="20dp"
|
|
|
- android:layout_marginRight="20dp"
|
|
|
- android:textSize="16dp"
|
|
|
- android:text="软件版本"
|
|
|
- />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/update_app_tv"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_marginRight="30dp"
|
|
|
- android:layout_marginLeft="30dp"
|
|
|
- android:layout_marginTop="20dp"
|
|
|
- android:layout_height="40dp"
|
|
|
- android:background="#ffffff"
|
|
|
- android:gravity="center"
|
|
|
- android:textSize="18dp"
|
|
|
- android:text="检查升级"/>
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/reboot_tv"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="40dp"
|
|
|
- android:layout_marginRight="30dp"
|
|
|
- android:layout_marginLeft="30dp"
|
|
|
- android:background="#ffffff"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:gravity="center"
|
|
|
- android:textSize="18dp"
|
|
|
- android:text="重启设备"/>
|
|
|
- <TextView
|
|
|
- android:id="@+id/setting_tv"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="40dp"
|
|
|
- android:layout_marginRight="30dp"
|
|
|
- android:layout_marginLeft="30dp"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:layout_marginBottom="20dp"
|
|
|
- android:background="#ffffff"
|
|
|
- android:gravity="center"
|
|
|
- android:textSize="18dp"
|
|
|
- android:text="系统设置"/>
|
|
|
|
|
|
</LinearLayout>
|
|
|
</ScrollView>
|