Fix Wireless debugging icon alignment on developer options screen.

Added icon and dividers to realign and balance the screen layout.

Bug: 200139203
Test: atest SettingsUnitTests and manual
Change-Id: Ie5e89fd952f85bdf3fe0009b25ff127493e3cb95
(cherry picked from commit 4677bfbe25)
This commit is contained in:
J. Eason
2021-09-16 14:59:53 +00:00
parent cb1969d46b
commit 8b822858cf

View File

@@ -42,7 +42,8 @@
<!-- Pairing methods category --> <!-- Pairing methods category -->
<PreferenceCategory <PreferenceCategory
android:key="adb_pairing_methods_category" android:key="adb_pairing_methods_category"
android:layout="@layout/preference_category_no_label"> android:layout="@layout/preference_category_no_label"
settings:allowDividerAbove="true">
<!-- qrcode scanner --> <!-- qrcode scanner -->
<Preference <Preference
android:key="adb_pair_method_qrcode_pref" android:key="adb_pair_method_qrcode_pref"
@@ -52,6 +53,7 @@
settings:controller="com.android.settings.development.AdbQrCodePreferenceController"/> settings:controller="com.android.settings.development.AdbQrCodePreferenceController"/>
<Preference <Preference
android:key="adb_pair_method_code_pref" android:key="adb_pair_method_code_pref"
android:icon="@drawable/ic_password"
android:title="@string/adb_pair_method_code_title" android:title="@string/adb_pair_method_code_title"
android:summary="@string/adb_pair_method_code_summary"/> android:summary="@string/adb_pair_method_code_summary"/>
</PreferenceCategory> </PreferenceCategory>
@@ -59,7 +61,8 @@
<!-- Paired devices list --> <!-- Paired devices list -->
<PreferenceCategory <PreferenceCategory
android:key="adb_paired_devices_category" android:key="adb_paired_devices_category"
android:title="@string/adb_paired_devices_title"/> android:title="@string/adb_paired_devices_title"
settings:allowDividerAbove="true"/>
<!-- Off message: Shown only in the off state --> <!-- Off message: Shown only in the off state -->
<PreferenceCategory <PreferenceCategory