1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2020 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16 17<PreferenceScreen 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 xmlns:settings="http://schemas.android.com/apk/res-auto" 20 android:title="@string/adb_wireless_settings"> 21 22 <PreferenceCategory 23 android:layout="@layout/preference_category_no_label"> 24 <!-- ADB device name --> 25 <Preference 26 android:key="adb_device_name_pref" 27 android:title="@string/my_device_info_device_name_preference_title" 28 android:summary="@string/summary_placeholder" 29 android:selectable="false" 30 settings:controller="com.android.settings.development.AdbDeviceNamePreferenceController" 31 settings:enableCopying="true"/> 32 33 <!-- IP address & port --> 34 <Preference 35 android:key="adb_ip_addr_pref" 36 android:title="@string/adb_wireless_ip_addr_preference_title" 37 android:summary="@string/summary_placeholder" 38 android:selectable="false" 39 settings:enableCopying="true"/> 40 </PreferenceCategory> 41 42 <!-- Pairing methods category --> 43 <PreferenceCategory 44 android:key="adb_pairing_methods_category" 45 android:layout="@layout/preference_category_no_label"> 46 <!-- qrcode scanner --> 47 <Preference 48 android:key="adb_pair_method_qrcode_pref" 49 android:icon="@drawable/ic_scan_24dp" 50 android:title="@string/adb_pair_method_qrcode_title" 51 android:summary="@string/adb_pair_method_qrcode_summary" 52 settings:controller="com.android.settings.development.AdbQrCodePreferenceController"/> 53 <Preference 54 android:key="adb_pair_method_code_pref" 55 android:title="@string/adb_pair_method_code_title" 56 android:summary="@string/adb_pair_method_code_summary"/> 57 </PreferenceCategory> 58 59 <!-- Paired devices list --> 60 <PreferenceCategory 61 android:key="adb_paired_devices_category" 62 android:title="@string/adb_paired_devices_title"/> 63 64 <!-- Off message: Shown only in the off state --> 65 <PreferenceCategory 66 android:key="adb_wireless_footer_category" 67 android:layout="@layout/preference_category_no_label" 68 settings:allowDividerAbove="false"/> 69 70</PreferenceScreen> 71