Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
      3      xmlns:phone="http://schemas.android.com/apk/res/com.android.phone"
      4      android:title="@string/call_forwarding_settings">
      5 
      6 
      7     <!-- Note for all com.android.phone.EditPreference objects
      8 
      9          The last several attributes are for use with the EditText field
     10          in the dialog.  These attributes are forwarded to that field
     11          when the edittext is created.  The attributes include:
     12            1. android:singleLine
     13            2. android:autoText
     14            3. android:background -->
     15 
     16     <com.android.phone.CallForwardEditPreference
     17         android:key="button_cfu_key"
     18         android:title="@string/labelCFU"
     19         android:persistent="false"
     20         android:summaryOn="@string/sum_cfu_enabled"
     21         android:summaryOff="@string/sum_cfu_disabled"
     22         android:dialogTitle="@string/labelCFU"
     23         android:dialogMessage="@string/messageCFU"
     24         phone:confirmMode="activation"
     25         phone:serviceClass="voice"
     26         phone:reason="unconditional"
     27         android:singleLine="true"
     28         android:autoText="false"/>
     29 
     30     <!-- See note on com.android.phone.EditPreference above -->
     31     <com.android.phone.CallForwardEditPreference
     32         android:key="button_cfb_key"
     33         android:title="@string/labelCFB"
     34         android:persistent="false"
     35         android:summaryOn="@string/sum_cfb_enabled"
     36         android:summaryOff="@string/sum_cfb_disabled"
     37         android:dialogTitle="@string/labelCFB"
     38         android:dialogMessage="@string/messageCFB"
     39         phone:confirmMode="activation"
     40         phone:serviceClass="voice"
     41         phone:reason="busy"
     42         android:dependency="button_cfu_key"
     43         android:singleLine="true"
     44         android:autoText="false"/>
     45 
     46     <!-- See note on com.android.phone.EditPreference above -->
     47     <com.android.phone.CallForwardEditPreference
     48         android:key="button_cfnry_key"
     49         android:title="@string/labelCFNRy"
     50         android:persistent="false"
     51         android:summaryOn="@string/sum_cfnry_enabled"
     52         android:summaryOff="@string/sum_cfnry_disabled"
     53         android:dialogTitle="@string/labelCFNRy"
     54         android:dialogMessage="@string/messageCFNRy"
     55         phone:confirmMode="activation"
     56         phone:serviceClass="voice"
     57         phone:reason="no_reply"
     58         android:dependency="button_cfu_key"
     59         android:singleLine="true"
     60         android:autoText="false"/>
     61 
     62     <!-- See note on com.android.phone.EditPreference above -->
     63     <com.android.phone.CallForwardEditPreference
     64         android:key="button_cfnrc_key"
     65         android:title="@string/labelCFNRc"
     66         android:persistent="false"
     67         android:summaryOn="@string/sum_cfnrc_enabled"
     68         android:summaryOff="@string/sum_cfnrc_disabled"
     69         android:dialogTitle="@string/labelCFNRc"
     70         android:dialogMessage="@string/messageCFNRc"
     71         phone:confirmMode="activation"
     72         phone:serviceClass="voice"
     73         phone:reason="not_reachable"
     74         android:dependency="button_cfu_key"
     75         android:singleLine="true"
     76         android:autoText="false"/>
     77 </PreferenceScreen>
     78