blob: 945611e839efb92f669f66cb800a24c55bb52531 [file] [log] [blame]
Joshua Duong85a65e22018-11-08 06:56:45 -08001<?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"
Joshua Duong56ad92c2020-03-17 09:38:54 -070050 android:summary="@string/adb_pair_method_qrcode_summary"
51 settings:controller="com.android.settings.development.AdbQrCodePreferenceController"/>
Joshua Duong85a65e22018-11-08 06:56:45 -080052 <Preference
53 android:key="adb_pair_method_code_pref"
54 android:title="@string/adb_pair_method_code_title"
55 android:summary="@string/adb_pair_method_code_summary"/>
56 </PreferenceCategory>
57
58 <!-- Paired devices list -->
59 <PreferenceCategory
60 android:key="adb_paired_devices_category"
61 android:title="@string/adb_paired_devices_title"/>
62
63 <!-- Off message: Shown only in the off state -->
64 <PreferenceCategory
65 android:key="adb_wireless_footer_category"
66 android:layout="@layout/preference_category_no_label"
67 settings:allowDividerAbove="false"/>
68
69</PreferenceScreen>