Add talkback and fix touch area of phonebook sharing toggle

Bug: 318788906
Bug: 318787744
Test: atest BluetoothPairingDialogTest
Change-Id: I168a900cc4a66ae69b300f8fa806e3a612f4f310
This commit is contained in:
Haijie Hong
2024-01-19 11:40:03 +08:00
parent a4cf715181
commit 9f5cb5cf0e

View File

@@ -103,9 +103,11 @@
<Switch
android:id="@+id/phonebook_sharing_message_confirm_pin"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_height="48dp"
android:layout_weight="0"
android:gravity="center_vertical" />
android:gravity="center_vertical"
android:contentDescription="@string/bluetooth_pairing_phonebook_toggle_text"
android:switchMinWidth="48dp" />
</LinearLayout>
</LinearLayout>