Xml文件  |  47行  |  1.82 KB

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2008 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">

    <!-- Rearranged to use EditPinPreference -->
    <com.android.phone.EditPinPreference 
        android:key="button_fdn_enable_key" 
        android:persistent="false"
        android:dialogMessage="@string/enter_pin2_text"
        android:title="@string/fdn_activation"/>
        
    <!-- Rearranged to use EditPinPreference -->
    <com.android.phone.EditPinPreference 
        android:key="button_change_pin2_key" 
        android:title="@string/change_pin2"
        android:dialogTitle="@string/change_pin2"
        android:summary="@string/sum_fdn_change_pin"
        android:persistent="false"/>
        
    <PreferenceScreen 
        android:key="button_fdn_list_key" 
        android:title="@string/manage_fdn_list"
        android:summary="@string/sum_fdn_manage_list"
        android:persistent="false">
        
        <!-- Intent to lauch the FDN list. -->
        <intent android:action="android.intent.action.MAIN"
            android:targetPackage="com.android.phone"
            android:targetClass="com.android.phone.FdnList" />
            
    </PreferenceScreen>
    
</PreferenceScreen>