fix: 引入Settings的Module
This commit is contained in:
68
Settings/res/xml/installed_app_launch_settings.xml
Normal file
68
Settings/res/xml/installed_app_launch_settings.xml
Normal file
@@ -0,0 +1,68 @@
|
||||
<?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">
|
||||
|
||||
<Preference
|
||||
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"/>
|
||||
|
||||
<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:searchable="false"/>
|
||||
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
Reference in New Issue
Block a user