The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2008 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" |
Fan Zhang | 74c61d1 | 2017-11-17 16:49:54 -0800 | [diff] [blame] | 18 | xmlns:settings="http://schemas.android.com/apk/res-auto" |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 19 | android:title="@string/sim_lock_settings"> |
PauloftheWest | ac5c081 | 2014-11-17 12:47:38 -0800 | [diff] [blame] | 20 | |
| 21 | <SwitchPreference |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 22 | android:key="sim_toggle" |
| 23 | android:title="@string/sim_pin_toggle" |
| 24 | android:summaryOn="@string/sim_lock_on" |
| 25 | android:summaryOff="@string/sim_lock_off"/> |
Fabrice Di Meglio | 9e041f0 | 2014-07-28 17:54:30 -0700 | [diff] [blame] | 26 | |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 27 | <com.android.settings.EditPinPreference |
| 28 | android:key="sim_pin" |
Gustaf Nilklint | 83fc19d | 2010-12-06 10:21:13 +0100 | [diff] [blame] | 29 | android:dependency="sim_toggle" |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 30 | android:title="@string/sim_pin_change" |
| 31 | android:dialogTitle="@string/sim_change_pin" |
| 32 | android:dialogMessage="@string/sim_enter_old" |
| 33 | android:positiveButtonText="@string/sim_enter_ok" |
Pengquan Meng | a39613c | 2018-03-08 19:44:27 -0800 | [diff] [blame] | 34 | android:negativeButtonText="@string/sim_enter_cancel" |
| 35 | android:persistent="false"/> |
Fabrice Di Meglio | 9e041f0 | 2014-07-28 17:54:30 -0700 | [diff] [blame] | 36 | |
| 37 | </PreferenceScreen> |