• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2015 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/launch_by_default">
21
22    <com.android.settingslib.widget.MainSwitchPreference
23        android:key="open_by_default_supported_links"
24        android:title="@string/app_launch_open_domain_urls_title"/>
25
26    <PreferenceCategory
27        android:layout="@layout/preference_category_no_label"
28        android:key="open_by_default_main_category"
29        settings:searchable="false">
30
31        <PreferenceCategory
32            android:title="@string/app_launch_links_category">
33
34            <com.android.settings.applications.intentpicker.VerifiedLinksPreference
35                android:key="open_by_default_verified_links"
36                android:title="@string/summary_placeholder"
37                android:order="-100"
38                settings:searchable="false"/>
39
40            <PreferenceCategory
41                android:layout="@layout/preference_category_no_label"
42                android:key="open_by_default_selected_links_category"
43                android:order="100"
44                settings:searchable="false"/>
45
46            <Preference
47                android:key="open_by_default_add_link"
48                android:title="@string/app_launch_add_link"
49                android:order="300"
50                android:icon="@drawable/ic_add_24dp"/>
51
52        </PreferenceCategory>
53
54        <PreferenceCategory android:key="app_launch_other_defaults"
55                            android:title="@string/app_launch_other_defaults_title">
56
57            <com.android.settings.applications.ClearDefaultsPreference
58                android:key="app_launch_clear_defaults"
59                android:selectable="false"/>
60
61        </PreferenceCategory>
62
63        <com.android.settingslib.widget.FooterPreference
64            android:key="open_by_default_footer"
65            android:selectable="false"
66            settings:searchable="false"/>
67
68    </PreferenceCategory>
69</PreferenceScreen>
70