From 3a154bdb0a5aaa2c0ac3eac95a6ba747068bd454 Mon Sep 17 00:00:00 2001 From: MrShi <1878285526@qq.com> Date: 星期二, 13 一月 2026 10:00:37 +0800 Subject: [PATCH] 优化 --- keyCabinet-android/app/src/main/res/layout/offline_activation_activity.xml | 263 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 263 insertions(+), 0 deletions(-) diff --git a/keyCabinet-android/app/src/main/res/layout/offline_activation_activity.xml b/keyCabinet-android/app/src/main/res/layout/offline_activation_activity.xml new file mode 100644 index 0000000..30da852 --- /dev/null +++ b/keyCabinet-android/app/src/main/res/layout/offline_activation_activity.xml @@ -0,0 +1,263 @@ +<?xml version="1.0" encoding="utf-8"?> +<layout > + <data> + <import type="com.doumee.lib_coremodel.base.BaseViewModel"/> + <import type="android.view.View"/> + <variable + name="model" + type="com.doumee.keyCabinet.ui.face.OfflineActivationVM" /> + </data> + <androidx.constraintlayout.widget.ConstraintLayout 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" + tools:context=".ui.face.OfflineActivationActivity"> + + <ScrollView + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <!--绂荤嚎婵�娲�--> + <RelativeLayout + android:layout_marginTop="@dimen/start_15" + android:id="@+id/accredit_offRl" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <LinearLayout + android:id="@+id/accredit_Ll" + android:layout_marginRight="49.3dp" + android:layout_marginLeft="49.3dp" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_centerHorizontal="true" + android:background="@drawable/bg_round_import" + android:orientation="vertical"> + + <TextView + android:textSize="20sp" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="20dp" + android:layout_marginTop="@dimen/start_15" + android:text="@string/off_technological_process" + android:textColor="#999999" /> + + <RelativeLayout + android:layout_marginTop="@dimen/start_15" + android:orientation="horizontal" + android:layout_marginRight="20dp" + android:layout_marginLeft="20dp" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <TextView + android:id="@+id/activity_hintOne" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="涓�" + android:textColor="#ffffff" + android:textSize="20sp" /> + + <TextView + android:layout_marginLeft="5dp" + android:layout_toRightOf="@+id/activity_hintOne" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/off_technological_process_one" + android:textColor="#ffffff" + android:textSize="18sp" /> + </RelativeLayout> + <RelativeLayout + android:layout_marginTop="@dimen/start_10" + android:orientation="horizontal" + android:layout_marginRight="20dp" + android:layout_marginLeft="20dp" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <TextView + android:id="@+id/activity_hintTwo" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="浜�" + android:textColor="#ffffff" + android:textSize="20sp" /> + + <TextView + android:layout_marginLeft="5dp" + android:layout_toRightOf="@+id/activity_hintTwo" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/off_technological_process_two" + android:textColor="#ffffff" + android:textSize="18sp" /> + </RelativeLayout> + <RelativeLayout + android:layout_marginTop="@dimen/start_10" + android:orientation="horizontal" + android:layout_marginRight="20dp" + android:layout_marginLeft="20dp" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <TextView + android:id="@+id/activity_hintThree" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="涓�" + android:textColor="#ffffff" + android:textSize="20sp" /> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginLeft="5dp" + android:layout_toRightOf="@+id/activity_hintThree" + android:text="@string/off_technological_process_three" + android:textColor="#ffffff" + android:textSize="18sp" /> + </RelativeLayout> + <RelativeLayout + android:layout_marginTop="@dimen/start_10" + android:orientation="horizontal" + android:layout_marginRight="20dp" + android:layout_marginLeft="20dp" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <TextView + android:id="@+id/activity_hintFour" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="鍥�" + android:textColor="#ffffff" + android:textSize="20sp" /> + + <TextView + android:layout_marginLeft="5dp" + android:layout_toRightOf="@+id/activity_hintFour" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/off_technological_process_four" + android:textColor="#ffffff" + android:textSize="18sp" /> + </RelativeLayout> + <RelativeLayout + android:layout_marginTop="@dimen/start_10" + android:orientation="horizontal" + android:layout_marginRight="20dp" + android:layout_marginLeft="20dp" + android:layout_marginBottom="@dimen/start_15" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <TextView + android:id="@+id/activity_hintFive" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="浜�" + android:textColor="#ffffff" + android:textSize="20sp" /> + + <TextView + android:layout_marginLeft="5dp" + android:layout_toRightOf="@+id/activity_hintFive" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/off_technological_process_five" + android:textColor="#ffffff" + android:textSize="18sp" /> + </RelativeLayout> + </LinearLayout> + + <TextView + android:id="@+id/accredit_setTv" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_below="@+id/accredit_Ll" + android:layout_centerHorizontal="true" + android:layout_marginTop="30dp" + android:text="@string/off_local_hardware" + android:textColor="#666666" + android:textSize="20sp" /> + + <TextView + android:textSize="20sp" + android:id="@+id/accredit_deviceTv" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_below="@+id/accredit_setTv" + android:layout_marginTop="20dp" + android:gravity="center" + android:textColor="@color/black" /> + + <View + android:id="@+id/aaccredit_view" + android:layout_width="match_parent" + android:layout_height="1dp" + android:layout_below="@+id/accredit_deviceTv" + android:layout_marginLeft="50dp" + android:layout_marginTop="10dp" + android:layout_marginRight="50dp" + android:background="#222222" /> + + <TextView + android:layout_marginLeft="49.3dp" + android:layout_marginRight="49.3dp" + android:textSize="@dimen/bottom_font" + android:id="@+id/accredit_hintTv" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_below="@+id/aaccredit_view" + android:layout_centerHorizontal="true" + android:layout_marginTop="@dimen/activition_14" + android:textColor="#F34B56" /> + + <Button + android:padding="13dp" + android:id="@+id/accredit_offBtn" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_below="@+id/accredit_hintTv" + android:layout_centerHorizontal="true" + android:layout_marginLeft="@dimen/activition_49" + android:layout_marginTop="13dp" + android:layout_marginRight="@dimen/activition_49" + android:background="@mipmap/btn_less_normal" + android:text="@string/accredit_off" + android:textColor="@color/white" + android:textSize="@dimen/activition_18_sp" /> + + <Button + android:padding="13dp" + android:id="@+id/btn_down" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_below="@+id/accredit_offBtn" + android:layout_centerHorizontal="true" + android:layout_marginLeft="@dimen/activition_49" + android:layout_marginTop="13dp" + android:layout_marginRight="@dimen/activition_49" + android:background="@mipmap/btn_less_normal" + android:text="涓嬭浇婵�娲绘枃浠�" + android:textColor="@color/white" + android:textSize="@dimen/activition_18_sp"/> + </RelativeLayout> + </ScrollView> + + <TextView + android:id="@+id/tv_id" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="NO锛�" + android:textColor="#ffaaaaaa" + android:textSize="18sp" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintStart_toStartOf="parent" + android:layout_marginLeft="30dp" + android:layout_marginBottom="22dp" + /> + </androidx.constraintlayout.widget.ConstraintLayout> +</layout> \ No newline at end of file -- Gitblit v1.9.3