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 </PreferenceCategory> 40 41 <!-- Pairing methods category --> 42 <PreferenceCategory 43 android:key="adb_pairing_methods_category" 44 android:layout="@layout/preference_category_no_label"> 45 <!-- qrcode scanner --> 46 <Preference 47 android:key="adb_pair_method_qrcode_pref" 48 android:icon="@drawable/ic_scan_24dp" 49 android:title="@string/adb_pair_method_qrcode_title" 50 android:summary="@string/adb_pair_method_qrcode_summary"/> 51 <Preference 52 android:key="adb_pair_method_code_pref" 53 android:title="@string/adb_pair_method_code_title" 54 android:summary="@string/adb_pair_method_code_summary"/> 55 </PreferenceCategory> 56 57 <!-- Paired devices list --> 58 <PreferenceCategory 59 android:key="adb_paired_devices_category" 60 android:title="@string/adb_paired_devices_title"/> 61 62 <!-- Off message: Shown only in the off state --> 63 <PreferenceCategory 64 android:key="adb_wireless_footer_category" 65 android:layout="@layout/preference_category_no_label" 66 settings:allowDividerAbove="false"/> 67 68</PreferenceScreen> 69