|
@@ -0,0 +1,662 @@
|
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
+<layout xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
+ android:background="#F7F7F7">
|
|
|
|
+
|
|
|
|
+ <include
|
|
|
|
+ android:id="@+id/activity_calling_door_layout_title"
|
|
|
|
+ layout="@layout/view_title_layout"
|
|
|
|
+ />
|
|
|
|
+
|
|
|
|
+ <RelativeLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="@dimen/d220"
|
|
|
|
+ android:background="@drawable/shape_bed_bg"
|
|
|
|
+ android:layout_marginTop="@dimen/d20"
|
|
|
|
+ android:layout_marginLeft="@dimen/d15"
|
|
|
|
+ android:layout_marginRight="@dimen/d24"
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
+ >
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/settings_img"
|
|
|
|
+ android:layout_width="@dimen/d24"
|
|
|
|
+ android:layout_height="@dimen/d24"
|
|
|
|
+ android:background="@mipmap/shbei"
|
|
|
|
+ android:layout_marginTop="@dimen/d16"
|
|
|
|
+ android:layout_marginLeft="@dimen/d20"
|
|
|
|
+ />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/settings_tx_2"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_toRightOf="@+id/settings_img"
|
|
|
|
+ android:text="设备调试"
|
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
|
+ android:layout_marginLeft="@dimen/d10"
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
+ android:textStyle="bold"
|
|
|
|
+ android:layout_marginTop="@dimen/d16"
|
|
|
|
+
|
|
|
|
+ />
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
+ android:layout_marginLeft="@dimen/d20"
|
|
|
|
+ android:layout_marginTop="@dimen/d16"
|
|
|
|
+ android:layout_marginBottom="@dimen/d26"
|
|
|
|
+ android:layout_below="@+id/settings_img"
|
|
|
|
+ >
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/settings_main_1_ll"
|
|
|
|
+ android:layout_width="@dimen/d165"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:layout_marginRight="@dimen/d25"
|
|
|
|
+ android:background="@mipmap/fuwu_bg"
|
|
|
|
+ android:clickable="true"
|
|
|
|
+ android:gravity="center_horizontal"
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:layout_width="@dimen/d30"
|
|
|
|
+ android:layout_height="@dimen/d30"
|
|
|
|
+ android:layout_marginTop="@dimen/d22"
|
|
|
|
+ android:src="@mipmap/fuwu" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginTop="@dimen/d12"
|
|
|
|
+ android:text="服务器设置"
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:textSize="@dimen/font_size_14"
|
|
|
|
+ android:textStyle="bold" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/settings_main_1_tx"
|
|
|
|
+ android:layout_width="@dimen/d58"
|
|
|
|
+ android:layout_height="@dimen/d20"
|
|
|
|
+ android:layout_marginTop="@dimen/d21"
|
|
|
|
+ android:background="@drawable/shape_n_login_ed_bg"
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ android:text="立即设置"
|
|
|
|
+ android:textColor="#3A78EF"
|
|
|
|
+ android:textSize="@dimen/font_size_10" />
|
|
|
|
+ </LinearLayout>
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/settings_main_2_ll"
|
|
|
|
+ android:layout_width="@dimen/d165"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:gravity="center_horizontal"
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
+ android:clickable="true"
|
|
|
|
+ android:background="@mipmap/wl_bg"
|
|
|
|
+ android:layout_marginRight="@dimen/d25"
|
|
|
|
+ >
|
|
|
|
+ <ImageView
|
|
|
|
+ android:layout_width="@dimen/d30"
|
|
|
|
+ android:layout_height="@dimen/d30"
|
|
|
|
+ android:src="@mipmap/wangluo"
|
|
|
|
+ android:layout_marginTop="@dimen/d22"
|
|
|
|
+ />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:text="网络设置"
|
|
|
|
+ android:textSize="@dimen/font_size_14"
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:textStyle="bold"
|
|
|
|
+ android:layout_marginTop="@dimen/d12"
|
|
|
|
+ />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/settings_main_2_tx"
|
|
|
|
+ android:layout_width="@dimen/d58"
|
|
|
|
+ android:layout_height="@dimen/d20"
|
|
|
|
+ android:text="立即设置"
|
|
|
|
+ android:textSize="@dimen/font_size_10"
|
|
|
|
+ android:textColor="#57D64E"
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ android:layout_marginTop="@dimen/d21"
|
|
|
|
+ android:background="@drawable/shape_n_login_ed_bg"
|
|
|
|
+ />
|
|
|
|
+ </LinearLayout>
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/settings_main_3_ll"
|
|
|
|
+ android:layout_width="@dimen/d165"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:gravity="center_horizontal"
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
+ android:clickable="true"
|
|
|
|
+ android:background="@mipmap/tiaoshi_bg"
|
|
|
|
+ android:layout_marginRight="@dimen/d25"
|
|
|
|
+ >
|
|
|
|
+ <ImageView
|
|
|
|
+ android:layout_width="@dimen/d30"
|
|
|
|
+ android:layout_height="@dimen/d30"
|
|
|
|
+ android:src="@mipmap/tiaoshi"
|
|
|
|
+ android:layout_marginTop="@dimen/d22"
|
|
|
|
+ />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:text="进入调试"
|
|
|
|
+ android:textSize="@dimen/font_size_14"
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:textStyle="bold"
|
|
|
|
+ android:layout_marginTop="@dimen/d12"
|
|
|
|
+ />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/settings_main_3_tx"
|
|
|
|
+ android:layout_width="@dimen/d58"
|
|
|
|
+ android:layout_height="@dimen/d20"
|
|
|
|
+ android:text="开始调试"
|
|
|
|
+ android:textSize="@dimen/font_size_10"
|
|
|
|
+ android:textColor="#FF924A"
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ android:layout_marginTop="@dimen/d21"
|
|
|
|
+ android:background="@drawable/shape_n_login_ed_bg"
|
|
|
|
+ />
|
|
|
|
+ </LinearLayout>
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/settings_main_4_ll"
|
|
|
|
+ android:layout_width="@dimen/d165"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:gravity="center_horizontal"
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
+ android:clickable="true"
|
|
|
|
+ android:background="@mipmap/banben_bg"
|
|
|
|
+ android:layout_marginRight="@dimen/d25"
|
|
|
|
+ >
|
|
|
|
+ <ImageView
|
|
|
|
+ android:layout_width="@dimen/d30"
|
|
|
|
+ android:layout_height="@dimen/d30"
|
|
|
|
+ android:src="@mipmap/banben"
|
|
|
|
+ android:layout_marginTop="@dimen/d22"
|
|
|
|
+ />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:text="版本更新"
|
|
|
|
+ android:textSize="@dimen/font_size_14"
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:textStyle="bold"
|
|
|
|
+ android:layout_marginTop="@dimen/d12"
|
|
|
|
+ />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/settings_main_4_tx"
|
|
|
|
+ android:layout_width="@dimen/d58"
|
|
|
|
+ android:layout_height="@dimen/d20"
|
|
|
|
+ android:text="更新版本"
|
|
|
|
+ android:textSize="@dimen/font_size_10"
|
|
|
|
+ android:textColor="#EE3B3B"
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ android:layout_marginTop="@dimen/d21"
|
|
|
|
+ android:background="@drawable/shape_n_login_ed_bg"
|
|
|
|
+ />
|
|
|
|
+ </LinearLayout>
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/settings_main_5_ll"
|
|
|
|
+ android:layout_width="@dimen/d165"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:gravity="center_horizontal"
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
+ android:clickable="true"
|
|
|
|
+ android:background="@mipmap/cq_bg"
|
|
|
|
+ android:layout_marginRight="@dimen/d19"
|
|
|
|
+ >
|
|
|
|
+ <ImageView
|
|
|
|
+ android:layout_width="@dimen/d30"
|
|
|
|
+ android:layout_height="@dimen/d30"
|
|
|
|
+ android:src="@mipmap/cq"
|
|
|
|
+ android:layout_marginTop="@dimen/d22"
|
|
|
|
+ />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:text="重启设备"
|
|
|
|
+ android:textSize="@dimen/font_size_14"
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:textStyle="bold"
|
|
|
|
+ android:layout_marginTop="@dimen/d12"
|
|
|
|
+ />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/settings_main_5_tx"
|
|
|
|
+ android:layout_width="@dimen/d58"
|
|
|
|
+ android:layout_height="@dimen/d20"
|
|
|
|
+ android:text="立即重启"
|
|
|
|
+ android:textSize="@dimen/font_size_10"
|
|
|
|
+ android:textColor="#FF924A"
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ android:layout_marginTop="@dimen/d21"
|
|
|
|
+ android:background="@drawable/shape_n_login_ed_bg"
|
|
|
|
+ />
|
|
|
|
+ </LinearLayout>
|
|
|
|
+ </LinearLayout>
|
|
|
|
+ </RelativeLayout>
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
+
|
|
|
|
+ <ScrollView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginLeft="@dimen/d15"
|
|
|
|
+ android:layout_marginTop="@dimen/d15"
|
|
|
|
+ android:layout_marginBottom="@dimen/d15">
|
|
|
|
+
|
|
|
|
+ <RelativeLayout
|
|
|
|
+ android:layout_width="@dimen/d700"
|
|
|
|
+ android:layout_height="@dimen/d290"
|
|
|
|
+ android:background="@drawable/shape_bed_bg"
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/settings_img1"
|
|
|
|
+ android:layout_width="@dimen/d24"
|
|
|
|
+ android:layout_height="@dimen/d24"
|
|
|
|
+ android:layout_marginLeft="@dimen/d20"
|
|
|
|
+ android:layout_marginTop="@dimen/d16"
|
|
|
|
+ android:background="@mipmap/xinxi" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/nurse_msg_tx_4"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginLeft="@dimen/d10"
|
|
|
|
+ android:layout_marginTop="@dimen/d16"
|
|
|
|
+ android:layout_toRightOf="@+id/settings_img1"
|
|
|
|
+ android:text="设备信息"
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
|
+ android:textStyle="bold" />
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/settings_main_6_ll"
|
|
|
|
+ android:layout_width="@dimen/d325"
|
|
|
|
+ android:layout_height="@dimen/d38"
|
|
|
|
+ android:layout_below="@+id/settings_img1"
|
|
|
|
+ android:layout_marginLeft="@dimen/d20"
|
|
|
|
+ android:layout_marginTop="@dimen/d17"
|
|
|
|
+ android:background="@drawable/shape_settings_txt_bg"
|
|
|
|
+ android:clickable="true"
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginLeft="@dimen/d12"
|
|
|
|
+ android:layout_weight="0.4"
|
|
|
|
+ android:text="ID"
|
|
|
|
+ android:textColor="@color/txt_setting"
|
|
|
|
+ android:textSize="@dimen/font_size_14" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/settings_main_6_tx"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
+ android:textColor="@color/txt_setting"
|
|
|
|
+ android:textSize="@dimen/font_size_14" />
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/settings_main_7_ll"
|
|
|
|
+ android:layout_width="@dimen/d325"
|
|
|
|
+ android:layout_height="@dimen/d38"
|
|
|
|
+ android:layout_below="@+id/settings_img1"
|
|
|
|
+ android:layout_marginLeft="@dimen/d10"
|
|
|
|
+ android:layout_marginTop="@dimen/d17"
|
|
|
|
+ android:layout_toRightOf="@+id/settings_main_6_ll"
|
|
|
|
+ android:background="@drawable/shape_settings_txt_bg"
|
|
|
|
+ android:clickable="true"
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginLeft="@dimen/d12"
|
|
|
|
+ android:layout_weight="0.4"
|
|
|
|
+ android:text="IP"
|
|
|
|
+ android:textColor="@color/txt_setting"
|
|
|
|
+ android:textSize="@dimen/font_size_14" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/settings_main_7_tx"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
+ android:textColor="@color/txt_setting"
|
|
|
|
+ android:textSize="@dimen/font_size_14" />
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/settings_main_8_ll"
|
|
|
|
+ android:layout_width="@dimen/d325"
|
|
|
|
+ android:layout_height="@dimen/d38"
|
|
|
|
+ android:layout_below="@+id/settings_main_6_ll"
|
|
|
|
+ android:layout_marginLeft="@dimen/d20"
|
|
|
|
+ android:layout_marginTop="@dimen/d7"
|
|
|
|
+ android:background="@drawable/shape_settings_txt_bg"
|
|
|
|
+ android:clickable="true"
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginLeft="@dimen/d12"
|
|
|
|
+ android:layout_weight="0.4"
|
|
|
|
+ android:text="网关"
|
|
|
|
+ android:textColor="@color/txt_setting"
|
|
|
|
+ android:textSize="@dimen/font_size_14" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/settings_main_8_tx"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
+ android:textColor="@color/txt_setting"
|
|
|
|
+ android:textSize="@dimen/font_size_14" />
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/settings_main_9_ll"
|
|
|
|
+ android:layout_width="@dimen/d325"
|
|
|
|
+ android:layout_height="@dimen/d38"
|
|
|
|
+ android:layout_below="@+id/settings_main_7_ll"
|
|
|
|
+ android:layout_marginLeft="@dimen/d10"
|
|
|
|
+ android:layout_marginTop="@dimen/d7"
|
|
|
|
+ android:layout_toRightOf="@+id/settings_main_8_ll"
|
|
|
|
+ android:background="@drawable/shape_settings_txt_bg"
|
|
|
|
+ android:clickable="true"
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginLeft="@dimen/d12"
|
|
|
|
+ android:layout_weight="0.4"
|
|
|
|
+ android:text="DNS"
|
|
|
|
+ android:textColor="@color/txt_setting"
|
|
|
|
+ android:textSize="@dimen/font_size_14" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/settings_main_9_tx"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
+ android:textColor="@color/txt_setting"
|
|
|
|
+ android:textSize="@dimen/font_size_14" />
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/settings_main_10_ll"
|
|
|
|
+ android:layout_width="@dimen/d325"
|
|
|
|
+ android:layout_height="@dimen/d38"
|
|
|
|
+ android:layout_below="@+id/settings_main_8_ll"
|
|
|
|
+ android:layout_marginLeft="@dimen/d20"
|
|
|
|
+ android:layout_marginTop="@dimen/d7"
|
|
|
|
+ android:background="@drawable/shape_settings_txt_bg"
|
|
|
|
+ android:clickable="true"
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginLeft="@dimen/d12"
|
|
|
|
+ android:layout_weight="0.4"
|
|
|
|
+ android:text="服务器ID"
|
|
|
|
+ android:textColor="@color/txt_setting"
|
|
|
|
+ android:textSize="@dimen/font_size_14" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/settings_main_10_tx"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
+
|
|
|
|
+ android:text="http: //"
|
|
|
|
+ android:textColor="@color/txt_setting"
|
|
|
|
+ android:textSize="@dimen/font_size_14" />
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/settings_main_11_ll"
|
|
|
|
+ android:layout_width="@dimen/d325"
|
|
|
|
+ android:layout_height="@dimen/d38"
|
|
|
|
+ android:layout_below="@+id/settings_main_9_ll"
|
|
|
|
+ android:layout_marginLeft="@dimen/d10"
|
|
|
|
+ android:layout_marginTop="@dimen/d7"
|
|
|
|
+ android:layout_toRightOf="@+id/settings_main_8_ll"
|
|
|
|
+ android:background="@drawable/shape_settings_txt_bg"
|
|
|
|
+ android:clickable="true"
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginLeft="@dimen/d12"
|
|
|
|
+ android:layout_weight="0.4"
|
|
|
|
+ android:text="语音ID"
|
|
|
|
+ android:textColor="@color/txt_setting"
|
|
|
|
+ android:textSize="@dimen/font_size_14" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/settings_main_11_tx"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
+ android:text="00000"
|
|
|
|
+ android:textColor="@color/txt_setting"
|
|
|
|
+ android:textSize="@dimen/font_size_14" />
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/settings_main_12_ll"
|
|
|
|
+ android:layout_width="@dimen/d325"
|
|
|
|
+ android:layout_height="@dimen/d38"
|
|
|
|
+ android:layout_below="@+id/settings_main_11_ll"
|
|
|
|
+ android:layout_marginLeft="@dimen/d20"
|
|
|
|
+ android:layout_marginTop="@dimen/d7"
|
|
|
|
+ android:background="@drawable/shape_settings_txt_bg"
|
|
|
|
+ android:clickable="true"
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginLeft="@dimen/d12"
|
|
|
|
+ android:layout_weight="0.4"
|
|
|
|
+ android:text="语音类型"
|
|
|
|
+ android:textColor="@color/txt_setting"
|
|
|
|
+ android:textSize="@dimen/font_size_14" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/settings_main_12_tx"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
+
|
|
|
|
+ android:text="000类型"
|
|
|
|
+ android:textColor="@color/txt_setting"
|
|
|
|
+ android:textSize="@dimen/font_size_14" />
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/settings_main_13_ll"
|
|
|
|
+ android:layout_width="@dimen/d325"
|
|
|
|
+ android:layout_height="@dimen/d38"
|
|
|
|
+ android:layout_below="@+id/settings_main_11_ll"
|
|
|
|
+ android:layout_marginLeft="@dimen/d10"
|
|
|
|
+ android:layout_marginTop="@dimen/d7"
|
|
|
|
+ android:layout_toRightOf="@+id/settings_main_12_ll"
|
|
|
|
+ android:background="@drawable/shape_settings_txt_bg"
|
|
|
|
+ android:clickable="true"
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginLeft="@dimen/d12"
|
|
|
|
+ android:layout_weight="0.4"
|
|
|
|
+ android:text="语音服务器"
|
|
|
|
+ android:textColor="@color/txt_setting"
|
|
|
|
+ android:textSize="@dimen/font_size_14" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/settings_main_13_tx"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
+ android:text="服务器"
|
|
|
|
+ android:textColor="@color/txt_setting"
|
|
|
|
+ android:textSize="@dimen/font_size_14" />
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/settings_main_14_ll"
|
|
|
|
+ android:layout_width="@dimen/d325"
|
|
|
|
+ android:layout_height="@dimen/d38"
|
|
|
|
+ android:layout_below="@+id/settings_main_12_ll"
|
|
|
|
+ android:layout_marginLeft="@dimen/d20"
|
|
|
|
+ android:layout_marginTop="@dimen/d7"
|
|
|
|
+ android:background="@drawable/shape_settings_txt_bg"
|
|
|
|
+ android:clickable="true"
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginLeft="@dimen/d12"
|
|
|
|
+ android:layout_weight="0.4"
|
|
|
|
+ android:text="APP版本"
|
|
|
|
+ android:textColor="@color/txt_setting"
|
|
|
|
+ android:textSize="@dimen/font_size_14" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/settings_main_14_tx"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
+
|
|
|
|
+ android:text="V 0.0.0"
|
|
|
|
+ android:textColor="@color/txt_setting"
|
|
|
|
+ android:textSize="@dimen/font_size_14" />
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/settings_main_15_ll"
|
|
|
|
+ android:layout_width="@dimen/d325"
|
|
|
|
+ android:layout_height="@dimen/d38"
|
|
|
|
+ android:layout_below="@+id/settings_main_12_ll"
|
|
|
|
+ android:layout_marginLeft="@dimen/d10"
|
|
|
|
+ android:layout_marginTop="@dimen/d7"
|
|
|
|
+ android:layout_toRightOf="@+id/settings_main_12_ll"
|
|
|
|
+ android:background="@drawable/shape_settings_txt_bg"
|
|
|
|
+ android:clickable="true"
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginLeft="@dimen/d12"
|
|
|
|
+ android:layout_weight="0.4"
|
|
|
|
+ android:text="发布日期"
|
|
|
|
+ android:textColor="@color/txt_setting"
|
|
|
|
+ android:textSize="@dimen/font_size_14" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/settings_main_15_tx"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
+ android:text="00/00/00"
|
|
|
|
+ android:textColor="@color/txt_setting"
|
|
|
|
+ android:textSize="@dimen/font_size_14" />
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:id="@+id/ll_bt_switch"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_below="@id/settings_main_14_ll"
|
|
|
|
+ android:layout_marginLeft="@dimen/d22"
|
|
|
|
+ android:layout_marginTop="@dimen/d20"
|
|
|
|
+ android:layout_marginBottom="@dimen/d20"
|
|
|
|
+ android:gravity="center">
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:textSize="20sp"
|
|
|
|
+ android:textColor="@color/main_color"
|
|
|
|
+ android:text="蓝牙网关:"/>
|
|
|
|
+
|
|
|
|
+ <Switch
|
|
|
|
+ android:id="@+id/switch_bluetooth"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
|
+ android:switchMinWidth="40dp"
|
|
|
|
+ android:thumb="@drawable/thumb_selector"
|
|
|
|
+ android:track="@drawable/track_selector"/>
|
|
|
|
+ </LinearLayout>
|
|
|
|
+ </RelativeLayout>
|
|
|
|
+ </ScrollView>
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="@dimen/d265"
|
|
|
|
+ android:layout_height="@dimen/d290"
|
|
|
|
+ android:background="@drawable/shape_bed_bg"
|
|
|
|
+ android:layout_marginLeft="@dimen/d20"
|
|
|
|
+ android:layout_marginTop="@dimen/d15"
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/settings_img2"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:text="扫描二维码"
|
|
|
|
+ android:drawableLeft="@mipmap/saom"
|
|
|
|
+ android:drawablePadding="@dimen/d8"
|
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
|
+ android:clickable="true"
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
+ android:textStyle="bold" />
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/setting_qr_code"
|
|
|
|
+ android:layout_width="200dp"
|
|
|
|
+ android:layout_height="200dp"
|
|
|
|
+ android:layout_marginTop="@dimen/d14" />
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+</layout>
|