1<?xml version="1.0" encoding="utf-8"?><!--
2  Copyright 2021 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 xmlns:android="http://schemas.android.com/apk/res/android"
18    xmlns:app="http://schemas.android.com/apk/res-auto">
19    <Preference
20        android:key="basic"
21        android:fragment="com.example.androidx.preference.TwoPanePreferences$BasicPreferences"
22        android:summary="@string/summary_basic_preferences"
23        android:title="@string/basic_preferences"
24        android:icon="@android:drawable/sym_def_app_icon"/>
25    <SwitchPreferenceCompat
26        android:key="switch"
27        android:title="@string/title_switch_preference"
28        android:summary="@string/summary_switch_preference"/>
29    <Preference
30        android:key="widgets"
31        android:fragment="com.example.androidx.preference.TwoPanePreferences$WidgetPreferences"
32        android:summary="@string/summary_widgets"
33        android:title="@string/widgets"/>
34    <Preference
35        android:key="dialogs"
36        android:fragment="com.example.androidx.preference.TwoPanePreferences$DialogPreferences"
37        android:summary="@string/summary_dialogs"
38        android:title="@string/dialogs" />
39    <Preference
40        android:key="advanced"
41        android:fragment="com.example.androidx.preference.TwoPanePreferences$AdvancedPreferences"
42        android:summary="@string/summary_advanced_attributes"
43        android:title="@string/advanced_attributes" />
44    <Preference
45        android:key="intent"
46        android:title="@string/title_intent_preference"
47        android:summary="@string/summary_intent_preference">
48        <intent android:action="android.intent.action.VIEW"
49            android:data="http://www.android.com"/>
50    </Preference>
51</PreferenceScreen>