|
@@ -5,14 +5,16 @@
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@mipmap/activation_p_bg"
|
|
android:background="@mipmap/activation_p_bg"
|
|
android:padding="10dp"
|
|
android:padding="10dp"
|
|
|
|
+
|
|
>
|
|
>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/activation_title"
|
|
android:id="@+id/activation_title"
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:text="请先激活设备"
|
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ android:text="@string/str_check_activation"
|
|
android:textStyle="bold"
|
|
android:textStyle="bold"
|
|
android:textSize="@dimen/font_size_45"
|
|
android:textSize="@dimen/font_size_45"
|
|
android:textColor="@color/white"
|
|
android:textColor="@color/white"
|
|
@@ -24,7 +26,7 @@
|
|
android:id="@+id/activation_title_msg"
|
|
android:id="@+id/activation_title_msg"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:text="设置参数后激活"
|
|
|
|
|
|
+ android:text="@string/str_set_active_param"
|
|
android:textSize="@dimen/font_size_28"
|
|
android:textSize="@dimen/font_size_28"
|
|
android:textColor="@color/white"
|
|
android:textColor="@color/white"
|
|
android:layout_below="@+id/activation_title"
|
|
android:layout_below="@+id/activation_title"
|
|
@@ -46,7 +48,7 @@
|
|
<TextView
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:text="智能健康 关爱互联系统"
|
|
|
|
|
|
+ android:text="@string/str_data_care"
|
|
android:textSize="@dimen/font_size_35"
|
|
android:textSize="@dimen/font_size_35"
|
|
android:textColor="@color/black"
|
|
android:textColor="@color/black"
|
|
android:textStyle="bold"
|
|
android:textStyle="bold"
|
|
@@ -56,7 +58,7 @@
|
|
<TextView
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:text="扫描二维码进行激活"
|
|
|
|
|
|
+ android:text="@string/str_scan_qr_code"
|
|
android:textSize="@dimen/font_size_10"
|
|
android:textSize="@dimen/font_size_10"
|
|
android:textColor="@color/black"
|
|
android:textColor="@color/black"
|
|
android:visibility="gone"
|
|
android:visibility="gone"
|
|
@@ -69,161 +71,152 @@
|
|
android:visibility="gone"
|
|
android:visibility="gone"
|
|
android:layout_marginTop="@dimen/d10" />
|
|
android:layout_marginTop="@dimen/d10" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
|
+
|
|
|
|
+ <RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:orientation="horizontal"
|
|
|
|
- android:layout_marginTop="@dimen/d30"
|
|
|
|
- android:layout_marginLeft="@dimen/d90">
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/d15">
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
|
+ android:id="@+id/activation_v_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:text="当前版本号:"
|
|
|
|
- android:textSize="@dimen/font_size_24"
|
|
|
|
|
|
+ android:layout_marginLeft="@dimen/d118"
|
|
|
|
+ android:text="@string/str_version"
|
|
android:textColor="@color/black"
|
|
android:textColor="@color/black"
|
|
|
|
+ android:textSize="@dimen/font_size_24"
|
|
android:textStyle="bold" />
|
|
android:textStyle="bold" />
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/activation_v"
|
|
android:id="@+id/activation_v"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:text="V1.0.1.0"
|
|
|
|
android:layout_marginLeft="@dimen/d10"
|
|
android:layout_marginLeft="@dimen/d10"
|
|
- android:textSize="@dimen/font_size_20"
|
|
|
|
- android:textColor="@color/txt_setting" />
|
|
|
|
-
|
|
|
|
- </LinearLayout>
|
|
|
|
-
|
|
|
|
- <LinearLayout
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:orientation="horizontal"
|
|
|
|
- android:layout_marginLeft="@dimen/d140"
|
|
|
|
- android:layout_marginTop="@dimen/d15">
|
|
|
|
|
|
+ android:layout_toRightOf="@+id/activation_v_title"
|
|
|
|
+ android:text="V1.1.1"
|
|
|
|
+ android:textColor="@color/txt_setting"
|
|
|
|
+ android:textSize="@dimen/font_size_20" />
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
|
+ android:id="@+id/activation_ip_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:text="本机IP:"
|
|
|
|
- android:textSize="@dimen/font_size_24"
|
|
|
|
|
|
+ android:layout_alignRight="@+id/activation_v_title"
|
|
|
|
+ android:layout_below="@+id/activation_v_title"
|
|
|
|
+ android:layout_marginTop="@dimen/d15"
|
|
|
|
+ android:text="@string/str_ip"
|
|
android:textColor="@color/black"
|
|
android:textColor="@color/black"
|
|
|
|
+ android:textSize="@dimen/font_size_24"
|
|
android:textStyle="bold" />
|
|
android:textStyle="bold" />
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/activation_ip"
|
|
android:id="@+id/activation_ip"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:text="192.168.0.0"
|
|
|
|
|
|
+ android:layout_below="@+id/activation_v_title"
|
|
android:layout_marginLeft="@dimen/d10"
|
|
android:layout_marginLeft="@dimen/d10"
|
|
- android:textSize="@dimen/font_size_20"
|
|
|
|
- android:textColor="@color/txt_setting" />
|
|
|
|
-
|
|
|
|
- </LinearLayout>
|
|
|
|
-
|
|
|
|
- <LinearLayout
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:orientation="horizontal"
|
|
|
|
- android:layout_marginLeft="@dimen/d162"
|
|
|
|
- android:layout_marginTop="@dimen/d15">
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/d15"
|
|
|
|
+ android:layout_toRightOf="@+id/activation_ip_title"
|
|
|
|
+ android:text="192.168.0.0"
|
|
|
|
+ android:textColor="@color/txt_setting"
|
|
|
|
+ android:textSize="@dimen/font_size_20" />
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
|
+ android:id="@+id/activation_wg_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:text="网关:"
|
|
|
|
- android:textSize="@dimen/font_size_24"
|
|
|
|
|
|
+ android:layout_alignRight="@+id/activation_ip_title"
|
|
|
|
+ android:layout_below="@+id/activation_ip_title"
|
|
|
|
+ android:layout_marginTop="@dimen/d15"
|
|
|
|
+ android:text="@string/str_gateway"
|
|
android:textColor="@color/black"
|
|
android:textColor="@color/black"
|
|
|
|
+ android:textSize="@dimen/font_size_24"
|
|
android:textStyle="bold" />
|
|
android:textStyle="bold" />
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/activation_wg"
|
|
android:id="@+id/activation_wg"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:text="192.168.0.0"
|
|
|
|
|
|
+ android:layout_below="@+id/activation_ip_title"
|
|
android:layout_marginLeft="@dimen/d10"
|
|
android:layout_marginLeft="@dimen/d10"
|
|
- android:textSize="@dimen/font_size_20"
|
|
|
|
- android:textColor="@color/txt_setting" />
|
|
|
|
-
|
|
|
|
- </LinearLayout>
|
|
|
|
-
|
|
|
|
- <LinearLayout
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:orientation="horizontal"
|
|
|
|
- android:layout_marginLeft="@dimen/d162"
|
|
|
|
- android:layout_marginTop="@dimen/d15">
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/d15"
|
|
|
|
+ android:layout_toRightOf="@+id/activation_wg_title"
|
|
|
|
+ android:text="192.168.0.0"
|
|
|
|
+ android:textColor="@color/txt_setting"
|
|
|
|
+ android:textSize="@dimen/font_size_20" />
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
|
+ android:id="@+id/activation_ym_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:text="掩码:"
|
|
|
|
- android:textSize="@dimen/font_size_24"
|
|
|
|
|
|
+ android:layout_alignRight="@+id/activation_wg_title"
|
|
|
|
+ android:layout_below="@+id/activation_wg_title"
|
|
|
|
+ android:layout_marginTop="@dimen/d15"
|
|
|
|
+ android:text="@string/str_netmask"
|
|
android:textColor="@color/black"
|
|
android:textColor="@color/black"
|
|
|
|
+ android:textSize="@dimen/font_size_24"
|
|
android:textStyle="bold" />
|
|
android:textStyle="bold" />
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/activation_ym"
|
|
android:id="@+id/activation_ym"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:text="192.168.0.0"
|
|
|
|
|
|
+ android:layout_below="@+id/activation_wg_title"
|
|
android:layout_marginLeft="@dimen/d10"
|
|
android:layout_marginLeft="@dimen/d10"
|
|
- android:textSize="@dimen/font_size_20"
|
|
|
|
- android:textColor="@color/txt_setting" />
|
|
|
|
-
|
|
|
|
- </LinearLayout>
|
|
|
|
-
|
|
|
|
- <LinearLayout
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:orientation="horizontal"
|
|
|
|
- android:layout_marginLeft="@dimen/d140"
|
|
|
|
- android:layout_marginTop="@dimen/d15">
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/d15"
|
|
|
|
+ android:layout_toRightOf="@+id/activation_ym_title"
|
|
|
|
+ android:text="192.168.0.0"
|
|
|
|
+ android:textColor="@color/txt_setting"
|
|
|
|
+ android:textSize="@dimen/font_size_20" />
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
|
+ android:id="@+id/activation_zcm_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:text="注册码:"
|
|
|
|
- android:textSize="@dimen/font_size_24"
|
|
|
|
|
|
+ android:layout_alignRight="@+id/activation_ym_title"
|
|
|
|
+ android:layout_below="@+id/activation_ym_title"
|
|
|
|
+ android:layout_marginTop="@dimen/d15"
|
|
|
|
+ android:text="@string/str_register_id"
|
|
android:textColor="@color/black"
|
|
android:textColor="@color/black"
|
|
|
|
+ android:textSize="@dimen/font_size_24"
|
|
android:textStyle="bold" />
|
|
android:textStyle="bold" />
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/activation_zcm"
|
|
android:id="@+id/activation_zcm"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:text="192.168.0.0"
|
|
|
|
|
|
+ android:layout_below="@+id/activation_ym_title"
|
|
android:layout_marginLeft="@dimen/d10"
|
|
android:layout_marginLeft="@dimen/d10"
|
|
- android:textSize="@dimen/font_size_20"
|
|
|
|
- android:textColor="@color/txt_setting" />
|
|
|
|
-
|
|
|
|
- </LinearLayout>
|
|
|
|
-
|
|
|
|
- <LinearLayout
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:orientation="horizontal"
|
|
|
|
- android:layout_marginLeft="@dimen/d116"
|
|
|
|
- android:layout_marginTop="@dimen/d15">
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/d15"
|
|
|
|
+ android:layout_toRightOf="@+id/activation_zcm_title"
|
|
|
|
+ android:text="192.168.0.0"
|
|
|
|
+ android:textColor="@color/txt_setting"
|
|
|
|
+ android:textSize="@dimen/font_size_20" />
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
|
+ android:id="@+id/activation_fuq_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:text="服务器IP:"
|
|
|
|
- android:textSize="@dimen/font_size_24"
|
|
|
|
|
|
+ android:layout_alignRight="@+id/activation_zcm_title"
|
|
|
|
+ android:layout_below="@+id/activation_zcm_title"
|
|
|
|
+ android:layout_marginTop="@dimen/d15"
|
|
|
|
+ android:text="@string/str_server_ip"
|
|
android:textColor="@color/black"
|
|
android:textColor="@color/black"
|
|
|
|
+ android:textSize="@dimen/font_size_24"
|
|
android:textStyle="bold" />
|
|
android:textStyle="bold" />
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
android:id="@+id/activation_fuq"
|
|
android:id="@+id/activation_fuq"
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
- android:text="192.168.0.0"
|
|
|
|
|
|
+ android:layout_below="@+id/activation_zcm_title"
|
|
android:layout_marginLeft="@dimen/d10"
|
|
android:layout_marginLeft="@dimen/d10"
|
|
- android:textSize="@dimen/font_size_20"
|
|
|
|
- android:textColor="@color/txt_setting" />
|
|
|
|
-
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/d15"
|
|
|
|
+ android:layout_toRightOf="@+id/activation_fuq_title"
|
|
|
|
+ android:text="192.168.0.0"
|
|
|
|
+ android:textColor="@color/txt_setting"
|
|
|
|
+ android:textSize="@dimen/font_size_20" />
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
@@ -267,7 +260,7 @@
|
|
android:layout_weight="1"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/shape_main_hos_txt_bg"
|
|
android:background="@drawable/shape_main_hos_txt_bg"
|
|
android:gravity="center"
|
|
android:gravity="center"
|
|
- android:text="系统设置"
|
|
|
|
|
|
+ android:text="@string/system_settings"
|
|
android:textColor="@color/white"
|
|
android:textColor="@color/white"
|
|
android:textSize="16sp" />
|
|
android:textSize="16sp" />
|
|
|
|
|