添加单号码单元测试

This commit is contained in:
ZhanGSKen
2025-03-06 19:59:11 +08:00
parent 05a9fc5275
commit 4bb814308b
3 changed files with 44 additions and 5 deletions

View File

@@ -6,9 +6,11 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<HorizontalScrollView
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content"
android:gravity="right">
<Button
android:layout_width="wrap_content"
@@ -16,7 +18,34 @@
android:text="Test Main"
android:onClick="onTestMain"/>
</HorizontalScrollView>
</LinearLayout>
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="测试号码:"/>
<EditText
android:layout_width="0dp"
android:inputType="phone"
android:layout_height="wrap_content"
android:ems="10"
android:layout_weight="1.0"
android:id="@+id/phone_et"/>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Test Phone"
android:onClick="onTestPhone"/>
</LinearLayout>
<cc.winboll.studio.libappbase.LogView
android:layout_width="match_parent"