Refactor the display of description text when no wifi calling options available.
Enhancement:
1. These text need to align the style with the summary part of the wifi
calling options.
2. These text need to be scrollable in order to see full description.
3. The link within text need to be clickable.
Bug: 204844012
Test: local
Change-Id: I60f339bf4adf50236d80176669a557c77f0d97ca
(cherry picked from commit 8a892271da
)
Merged-In: I60f339bf4adf50236d80176669a557c77f0d97ca
Merged-In: I8bbe6c653c51b8ca43d936e50166f0f8bfb1acdc
53 lines
2.5 KiB
XML
53 lines
2.5 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:key="wifi_calling_settings"
|
|
android:title="@string/wifi_calling_settings_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>
|