Files
app_Settings/res/xml/installed_app_launch_settings.xml
Sunny Shao 1d4c5be0e9 Fixed extra padding in "Open by default" page
- Page layout redesign.

Bug: 184228266
Test: manual test
Change-Id: I1323ca14b1843a95ba1210674595ee3ba1a94c67
2021-05-14 10:26:06 +08:00

71 lines
2.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2015 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/launch_by_default">
<com.android.settingslib.widget.MainSwitchPreference
android:key="open_by_default_supported_links"
android:title="@string/app_launch_open_domain_urls_title"/>
<PreferenceCategory
android:layout="@layout/preference_category_no_label"
android:key="open_by_default_main_category"
settings:searchable="false">
<PreferenceCategory
android:title="@string/app_launch_links_category">
<com.android.settings.applications.intentpicker.VerifiedLinksPreference
android:key="open_by_default_verified_links"
android:title="@string/summary_placeholder"
android:order="-100"
settings:searchable="false"/>
<PreferenceCategory
android:layout="@layout/preference_category_no_label"
android:key="open_by_default_selected_links_category"
android:order="100"
settings:searchable="false"/>
<Preference
android:key="open_by_default_add_link"
android:title="@string/app_launch_add_link"
android:order="300"
android:icon="@drawable/ic_add_24dp"/>
</PreferenceCategory>
<PreferenceCategory android:key="app_launch_other_defaults"
android:title="@string/app_launch_other_defaults_title">
<com.android.settings.applications.ClearDefaultsPreference
android:key="app_launch_clear_defaults"
android:selectable="false"/>
</PreferenceCategory>
<com.android.settingslib.widget.FooterPreference
android:key="open_by_default_footer"
android:selectable="false"
settings:allowDividerAbove="true"
settings:searchable="false"/>
</PreferenceCategory>
</PreferenceScreen>