diff options
author | PauloftheWest <paulofthewest@google.com> | 2014-11-10 08:07:39 -0800 |
---|---|---|
committer | PauloftheWest <paulofthewest@google.com> | 2014-11-12 14:52:18 -0800 |
commit | 76b0801173b6b8493cd9776e44f4effddd5512c2 (patch) | |
tree | 17485b99ba8331e78e48293e52444b21749fbeed /res/xml/device_info_sim_status.xml | |
parent | 53ad50b05bd95157c1b0bcefe321b2a561dc2696 (diff) | |
download | packages_apps_Settings-76b0801173b6b8493cd9776e44f4effddd5512c2.zip packages_apps_Settings-76b0801173b6b8493cd9776e44f4effddd5512c2.tar.gz packages_apps_Settings-76b0801173b6b8493cd9776e44f4effddd5512c2.tar.bz2 |
Adding Sim Status menu to Settings.
+ Added tabs for Multi-SIM devices.
+ Most of the code was taken from MediaTek
(https://partner-android-review.googlesource.com/#/c/181417)
Bug: 18195254
Change-Id: If6f7d5cfa4d41adb52dfc1bd035b4ff79d926bd8
Diffstat (limited to 'res/xml/device_info_sim_status.xml')
-rw-r--r-- | res/xml/device_info_sim_status.xml | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/res/xml/device_info_sim_status.xml b/res/xml/device_info_sim_status.xml new file mode 100644 index 0000000..9e9444d --- /dev/null +++ b/res/xml/device_info_sim_status.xml @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2014 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" + android:title="@string/sim_status_title"> + + <Preference android:key="operator_name" + style="?android:attr/preferenceInformationStyle" + android:title="@string/status_operator" + android:summary="@string/device_info_not_available" + android:persistent="false" /> + + <Preference android:key="signal_strength" + style="?android:attr/preferenceInformationStyle" + android:title="@string/status_signal_strength" + android:summary="@string/device_info_not_available" + android:persistent="false" /> + + <Preference android:key="network_type" + style="?android:attr/preferenceInformationStyle" + android:title="@string/status_network_type" + android:summary="@string/device_info_not_available" + android:persistent="false" /> + + <Preference android:key="latest_area_info" + style="?android:attr/preferenceInformationStyle" + android:title="@string/status_latest_area_info" + android:summary="@string/device_info_not_available" + android:persistent="false" /> + + <Preference android:key="service_state" + style="?android:attr/preferenceInformationStyle" + android:title="@string/status_service_state" + android:summary="@string/device_info_not_available" + android:persistent="false" /> + + <Preference android:key="roaming_state" + style="?android:attr/preferenceInformationStyle" + android:title="@string/status_roaming" + android:summary="@string/device_info_not_available" + android:persistent="false" /> + + <Preference android:key="data_state" + style="?android:attr/preferenceInformationStyle" + android:title="@string/status_data_state" + android:summary="@string/device_info_not_available" + android:persistent="false" /> + + <Preference android:key="number" + style="?android:attr/preferenceInformationStyle" + android:title="@string/status_number" + android:summary="@string/device_info_not_available" + android:persistent="false" /> + + <Preference android:key="imei" + style="?android:attr/preferenceInformationStyle" + android:title="@string/status_imei" + android:summary="@string/device_info_not_available" + android:persistent="false" /> + + <Preference android:key="imei_sv" + style="?android:attr/preferenceInformationStyle" + android:title="@string/status_imei_sv" + android:summary="@string/device_info_not_available" + android:persistent="false" /> + +</PreferenceScreen> |