设置UI为拖动拨号方式

This commit is contained in:
ZhanGSKen
2025-03-08 04:36:07 +08:00
parent 02f2d4f0bc
commit 5779f195f8
12 changed files with 124 additions and 65 deletions

View File

@@ -3,13 +3,13 @@
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:padding="16dp">
<TextView
android:id="@+id/phone_number"
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="16sp"
android:textStyle="bold" />
@@ -28,12 +28,10 @@
android:textSize="14sp"
android:layout_marginTop="4dp" />
<Button
android:id="@+id/dial_button"
android:layout_width="wrap_content"
<cc.winboll.studio.libaes.views.AOHPCTCSeekBar
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Dial"
android:layout_marginTop="8dp"/>
android:id="@+id/aohpctcseekbar_dial"/>
</LinearLayout>

View File

@@ -20,12 +20,10 @@
android:textSize="14sp"
android:layout_marginTop="4dp"/>
<Button
android:id="@+id/dial_button"
android:layout_width="wrap_content"
<cc.winboll.studio.libaes.views.AOHPCTCSeekBar
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Dial"
android:layout_marginTop="8dp"/>
android:id="@+id/aohpctcseekbar_dial"/>
</LinearLayout>