From 1b4835badb3ca32402b6544c668a700c5334d90f Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期二, 26 三月 2024 16:48:31 +0800 Subject: [PATCH] 添加中安身份证识别模块 把IP设置移动到参数设置界面 --- app/src/main/res/layout/activity_home.xml | 39 +++++++++++++++++++++++++++++---------- 1 files changed, 29 insertions(+), 10 deletions(-) diff --git a/app/src/main/res/layout/activity_home.xml b/app/src/main/res/layout/activity_home.xml index ea0c492..2200b50 100644 --- a/app/src/main/res/layout/activity_home.xml +++ b/app/src/main/res/layout/activity_home.xml @@ -14,42 +14,45 @@ <LinearLayout android:layout_width="match_parent" - android:layout_height="wrap_content" + android:layout_height="50dp" android:layout_gravity="center" - android:layout_marginTop="50dp" + android:layout_marginTop="30dp" android:orientation="horizontal"> <TextView android:id="@+id/home_newCard" android:layout_width="0dp" - android:layout_height="wrap_content" + android:layout_height="match_parent" android:layout_weight="1" android:gravity="center" - android:text="鏂板崱娉ㄥ唽" + android:text="鏂板崱寮�鎴�" + android:textColor="@color/text_selecter" android:textSize="@dimen/home_text_size" /> <TextView android:id="@+id/home_recharge" android:layout_width="0dp" - android:layout_height="wrap_content" + android:layout_height="match_parent" android:layout_weight="1" android:gravity="center" android:text="鍏呭��" + android:textColor="@color/text_selecter" android:textSize="@dimen/home_text_size" /> <TextView android:id="@+id/home_redCard" android:layout_width="0dp" - android:layout_height="wrap_content" + android:layout_height="match_parent" android:layout_weight="1" android:gravity="center" android:text="璇诲彇鍗$墖" + android:textColor="@color/text_selecter" android:textSize="@dimen/home_text_size" /> </LinearLayout> <LinearLayout android:layout_width="match_parent" - android:layout_height="wrap_content" + android:layout_height="50dp" android:layout_gravity="center" android:layout_marginTop="30dp" android:orientation="horizontal"> @@ -57,29 +60,45 @@ <TextView android:id="@+id/home_admin" android:layout_width="0dp" - android:layout_height="wrap_content" + android:layout_height="match_parent" android:layout_weight="1" android:gravity="center" android:text="绠$悊绯荤粺" + android:textColor="@color/text_selecter" android:textSize="@dimen/home_text_size" /> <TextView android:id="@+id/home_parameter" android:layout_width="0dp" - android:layout_height="wrap_content" + android:layout_height="match_parent" android:layout_weight="1" android:gravity="center" android:text="鍙傛暟璁剧疆" + android:textColor="@color/text_selecter" android:textSize="@dimen/home_text_size" /> <TextView android:id="@+id/home_my" android:layout_width="0dp" - android:layout_height="wrap_content" + android:layout_height="match_parent" android:layout_weight="1" android:gravity="center" android:text="涓汉涓績" + android:textColor="@color/text_selecter" android:textSize="@dimen/home_text_size" /> </LinearLayout> + <LinearLayout + android:layout_width="match_parent" + android:layout_height="match_parent" + android:gravity="bottom|center_horizontal"> + + <TextView + android:id="@+id/socketState" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginBottom="20dp" + android:text="宸茶繛鎺ユ暟鎹腑蹇�" /> + </LinearLayout> + </LinearLayout> \ No newline at end of file -- Gitblit v1.8.0