fix: 引入Settings的Module
This commit is contained in:
56
Settings/res/xml/wifi_calling_settings.xml
Normal file
56
Settings/res/xml/wifi_calling_settings.xml
Normal file
@@ -0,0 +1,56 @@
|
||||
<?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:key="wifi_calling_settings"
|
||||
android:title="@string/wifi_calling_settings_title">
|
||||
|
||||
<com.android.settings.widget.SettingsMainSwitchPreference
|
||||
android:key="wifi_calling_switch_bar"
|
||||
android:title="@string/wifi_calling_main_switch_title" />
|
||||
|
||||
<com.android.settings.wifi.calling.ListWithEntrySummaryPreference
|
||||
android:key="wifi_calling_mode"
|
||||
isPreferenceVisible="false"
|
||||
android:title="@string/wifi_calling_mode_title"
|
||||
android:summary="@string/wifi_calling_mode_title"
|
||||
android:entries="@array/wifi_calling_mode_choices"
|
||||
android:entryValues="@array/wifi_calling_mode_values"
|
||||
android:dialogTitle="@string/wifi_calling_mode_dialog_title"
|
||||
settings:entrySummaries="@array/wifi_calling_mode_summaries" />
|
||||
|
||||
<com.android.settings.wifi.calling.ListWithEntrySummaryPreference
|
||||
android:key="wifi_calling_roaming_mode"
|
||||
isPreferenceVisible="false"
|
||||
android:title="@string/wifi_calling_roaming_mode_title"
|
||||
android:summary="@string/wifi_calling_roaming_mode_summary"
|
||||
android:entries="@array/wifi_calling_mode_choices_v2"
|
||||
android:entryValues="@array/wifi_calling_mode_values"
|
||||
android:dialogTitle="@string/wifi_calling_roaming_mode_dialog_title"
|
||||
settings:entrySummaries="@array/wifi_calling_mode_summaries" />
|
||||
|
||||
<Preference
|
||||
android:key="emergency_address_key"
|
||||
isPreferenceVisible="false"
|
||||
android:title="@string/emergency_address_title"
|
||||
android:summary="@string/emergency_address_summary" />
|
||||
|
||||
<com.android.settings.wifi.calling.LinkifyDescriptionPreference
|
||||
android:key="no_options_description"
|
||||
isPreferenceVisible="false" />
|
||||
|
||||
</PreferenceScreen>
|
||||
Reference in New Issue
Block a user