From 7c8ce9b9a7d3fc1aaa4a621e86415b25ad10a34f Mon Sep 17 00:00:00 2001 From: panlili2024 <14743743+panlili2024@user.noreply.gitee.com> Date: 星期三, 19 三月 2025 09:36:28 +0800 Subject: [PATCH] 添加source屏扫码流程 --- HDLSDK/app/src/main/res/layout/activity_source_bind.xml | 25 ++++++++++++++++++++++--- 1 files changed, 22 insertions(+), 3 deletions(-) diff --git a/HDLSDK/app/src/main/res/layout/activity_source_bind.xml b/HDLSDK/app/src/main/res/layout/activity_source_bind.xml index 8454510..281a853 100644 --- a/HDLSDK/app/src/main/res/layout/activity_source_bind.xml +++ b/HDLSDK/app/src/main/res/layout/activity_source_bind.xml @@ -1,11 +1,30 @@ <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" tools:context=".SourceBindActivity"> + + <RelativeLayout + android:id="@+id/toolbar" + android:layout_width="match_parent" + android:layout_height="44dp" + android:background="@color/white"> + + <RelativeLayout + android:id="@+id/rl_back" + android:layout_width="47dp" + android:layout_height="match_parent"> + + <ImageView + android:layout_width="10dp" + android:layout_height="17dp" + android:layout_centerVertical="true" + android:layout_marginStart="16dp" + android:src="@mipmap/activity_back" /> + </RelativeLayout> + </RelativeLayout> <com.hdl.sdk.sourceos.qrcode.QrCodeView android:id="@+id/qrcode_view" @@ -21,7 +40,7 @@ android:id="@+id/response_tv" android:layout_width="match_parent" android:layout_height="wrap_content" - android:padding="3dp" - android:layout_marginTop="28dp" /> + android:layout_marginTop="28dp" + android:padding="3dp" /> </LinearLayout> \ No newline at end of file -- Gitblit v1.8.0