设置调试控件

This commit is contained in:
2026-01-15 12:07:02 +08:00
parent 25ec76b036
commit af14ac979b
3 changed files with 80 additions and 81 deletions

View File

@@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle
#Thu Jan 15 03:05:40 GMT 2026
#Thu Jan 15 04:06:06 GMT 2026
stageCount=0
libraryProject=library
baseVersion=15.0
publishVersion=15.0.0
buildCount=50
buildCount=53
baseBetaVersion=15.0.1

View File

@@ -1,92 +1,91 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="16dp"
android:gravity="center_horizontal">
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="16dp"
android:gravity="center_horizontal">
<!-- 输入区域 -->
<EditText
android:id="@+id/et_test_email"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="请输入登录邮箱"
android:inputType="textEmailAddress"
android:layout_marginBottom="8dp"/>
<EditText
android:id="@+id/et_test_email"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="请输入登录邮箱"
android:inputType="textEmailAddress"
android:layout_marginBottom="8dp"/>
<EditText
android:id="@+id/et_test_server_url"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="请输入服务地址(带http/https)"
android:layout_marginBottom="8dp"/>
<EditText
android:id="@+id/et_test_server_url"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="请输入服务地址(带http/https)"
android:layout_marginBottom="8dp"/>
<EditText
android:id="@+id/et_test_verify_code"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="请输入6位验证码"
android:inputType="number"
android:maxLength="6"
android:layout_marginBottom="16dp"/>
<EditText
android:id="@+id/et_test_verify_code"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="请输入6位验证码"
android:inputType="number"
android:maxLength="6"
android:layout_marginBottom="16dp"/>
<!-- 分步测试按钮 -->
<Button
android:id="@+id/btn_step1_check_input"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="步骤1校验邮箱+服务地址"/>
<Button
android:id="@+id/btn_step1_check_input"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="步骤1校验邮箱+服务地址"/>
<Button
android:id="@+id/btn_step2_send_code"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="步骤2发送验证码"/>
<Button
android:id="@+id/btn_step2_send_code"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="步骤2发送验证码"/>
<Button
android:id="@+id/btn_step3_verify_code"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="步骤3校验验证码"/>
<Button
android:id="@+id/btn_step3_verify_code"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="步骤3校验验证码"/>
<Button
android:id="@+id/btn_step4_nfc_bind"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="步骤4NFC绑定+密钥存储"/>
<Button
android:id="@+id/btn_step4_nfc_bind"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="步骤4NFC绑定+密钥存储"/>
<Button
android:id="@+id/btn_step5_submit_pubkey"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="步骤5提交公钥+鉴权登录"/>
<Button
android:id="@+id/btn_step5_submit_pubkey"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="步骤5提交公钥+鉴权登录"/>
<Button
android:id="@+id/btn_step6_heartbeat"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="步骤6启动心跳保活"/>
<Button
android:id="@+id/btn_step6_heartbeat"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="步骤6启动心跳保活"/>
<Button
android:id="@+id/btn_step_all_test"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="全流程测试(自动执行所有步骤)"
android:background="@android:color/holo_blue_dark"
android:textColor="@android:color/white"
android:layout_marginTop="8dp"/>
<Button
android:id="@+id/btn_step_all_test"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="全流程测试(自动执行所有步骤)"
android:background="@android:color/holo_blue_dark"
android:textColor="@android:color/white"
android:layout_marginTop="8dp"/>
<!-- 状态显示区域 -->
<TextView
android:id="@+id/tv_test_status"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:layout_marginTop="16dp"
android:textSize="14sp"
android:scrollbars="vertical"
android:maxLines="20"/>
<TextView
android:id="@+id/tv_test_status"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:layout_marginTop="16dp"
android:textSize="14sp"
android:scrollbars="vertical"
android:maxLines="20"
android:textIsSelectable="true"/>
</LinearLayout>

View File

@@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle
#Thu Jan 15 03:05:40 GMT 2026
#Thu Jan 15 04:06:06 GMT 2026
stageCount=0
libraryProject=library
baseVersion=15.0
publishVersion=15.0.0
buildCount=50
buildCount=53
baseBetaVersion=15.0.1