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_identyfying.xml | 45 ++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 40 insertions(+), 5 deletions(-) diff --git a/app/src/main/res/layout/activity_identyfying.xml b/app/src/main/res/layout/activity_identyfying.xml index 3828a17..d1e7fb3 100644 --- a/app/src/main/res/layout/activity_identyfying.xml +++ b/app/src/main/res/layout/activity_identyfying.xml @@ -10,20 +10,52 @@ android:layout_width="match_parent" android:layout_height="@dimen/dimen_title_height" android:background="@drawable/title_bar_bg" - app:centerText="姘磋〃鑴夊啿璁剧疆" + app:centerText="鍗℃爣璇嗙爜璁剧疆" app:leftImage="@mipmap/icon_back" /> + + + <RelativeLayout + android:id="@+id/chooseCardType" + android:layout_width="match_parent" + android:layout_height="45dp" + android:layout_below="@id/titleBar" + android:layout_marginLeft="20dp" + android:layout_marginTop="20dp" + android:layout_marginRight="20dp" + android:background="@drawable/ic_choose_gray_edge"> + + <TextView + android:id="@+id/chooseCardTypeText" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_centerVertical="true" + android:layout_marginLeft="10dp" + android:hint="璇烽�夋嫨鍗$被鍨�" + android:textColor="#000000" + android:textSize="18sp" /> + + <ImageView + android:layout_width="15dp" + android:layout_height="15dp" + android:layout_alignParentRight="true" + android:layout_centerVertical="true" + android:layout_marginRight="8dp" + android:src="@mipmap/icon_bottom" /> + </RelativeLayout> <LinearLayout android:id="@+id/electric_ll" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_below="@id/titleBar" + android:layout_below="@id/chooseCardType" android:layout_margin="20dp" + android:orientation="horizontal"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" + android:textColor="#000000" android:text="褰撳墠鍗℃爣璇嗭細" android:textSize="@dimen/text_size" /> @@ -42,9 +74,12 @@ android:layout_height="wrap_content" android:layout_below="@+id/electric_ll" android:layout_alignParentStart="true" - android:layout_margin="20dp" - android:inputType="number" - android:hint="璇疯緭鍏ユ柊鐨勫崱鏍囪瘑" /> + android:layout_marginStart="20dp" + android:layout_marginTop="20dp" + android:layout_marginEnd="20dp" + android:layout_marginBottom="20dp" + android:hint="璇疯緭鍏ユ柊鐨勫崱鏍囪瘑" + android:inputType="number" /> <TextView android:id="@+id/electric_ok" -- Gitblit v1.8.0