diff options
author | PauloftheWest <paulofthewest@google.com> | 2014-06-30 10:02:36 -0700 |
---|---|---|
committer | PauloftheWest <paulofthewest@google.com> | 2014-07-24 06:41:12 -0700 |
commit | 3815561997eced7fd773062ce32eaa50bece072c (patch) | |
tree | 7c951c7caf8831c218e3554e00c67631f20feadc /res/xml | |
parent | 2513851ace8d353f99146316b81a430add6d837f (diff) | |
download | packages_apps_Settings-3815561997eced7fd773062ce32eaa50bece072c.zip packages_apps_Settings-3815561997eced7fd773062ce32eaa50bece072c.tar.gz packages_apps_Settings-3815561997eced7fd773062ce32eaa50bece072c.tar.bz2 |
Added SIM Card Activity to Settings
+ Added SIM Card menu to Settings menu
+ Added SIM card detail dialog when selecting a SIM Card
+ Added ability to select the default SIM for Cellular data, Calls, and SMS
Bug: 16241745
Change-Id: I43437aa4c591c5097a8865d564f88726671e1b7d
Diffstat (limited to 'res/xml')
-rw-r--r-- | res/xml/dashboard_categories.xml | 8 | ||||
-rw-r--r-- | res/xml/sim_settings.xml | 44 |
2 files changed, 52 insertions, 0 deletions
diff --git a/res/xml/dashboard_categories.xml b/res/xml/dashboard_categories.xml index 53a6d5a..01a4f83 100644 --- a/res/xml/dashboard_categories.xml +++ b/res/xml/dashboard_categories.xml @@ -38,6 +38,14 @@ android:icon="@drawable/ic_settings_bluetooth2" /> + <!-- SIM Cards --> + <dashboard-tile + android:id="@+id/sim_settings" + android:title="@string/sim_settings_title" + android:fragment="com.android.settings.sim.SimSettings" + android:icon="@drawable/ic_sim_sd" + /> + <!-- Data Usage --> <dashboard-tile android:id="@+id/data_usage_settings" diff --git a/res/xml/sim_settings.xml b/res/xml/sim_settings.xml new file mode 100644 index 0000000..105be2e --- /dev/null +++ b/res/xml/sim_settings.xml @@ -0,0 +1,44 @@ +<?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_settings_title"> + + <PreferenceCategory + android:key="sim_cards" + android:title="@string/sim_settings_title" /> + + <PreferenceCategory + android:key="sim_activities" + android:title="@string/sim_pref_divider"> + + <com.android.settings.notification.DropDownPreference + android:key="sim_cellular_data" + android:title="@string/cellular_data_title" + android:dialogTitle="@string/cellular_data_title" /> + + <com.android.settings.notification.DropDownPreference + android:key="sim_calls" + android:title="@string/calls_title" /> + + <com.android.settings.notification.DropDownPreference + android:key="sim_sms" + android:title="@string/sms_messages_title" + android:dialogTitle="@string/sms_messages_title" /> + + </PreferenceCategory> + +</PreferenceScreen> |