Santos Cordon | 7d4ddf6 | 2013-07-10 11:58:08 -0700 | [diff] [blame^] | 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 | android:enabled="false" /> |
| 30 | |
| 31 | <!-- See note on com.android.phone.EditPreference above --> |
| 32 | <com.android.phone.CallForwardEditPreference |
| 33 | android:key="button_cfb_key" |
| 34 | android:title="@string/labelCFB" |
| 35 | android:persistent="false" |
| 36 | android:summaryOn="@string/sum_cfb_enabled" |
| 37 | android:summaryOff="@string/sum_cfb_disabled" |
| 38 | android:dialogTitle="@string/labelCFB" |
| 39 | android:dialogMessage="@string/messageCFB" |
| 40 | phone:confirmMode="activation" |
| 41 | phone:serviceClass="voice" |
| 42 | phone:reason="busy" |
| 43 | android:dependency="button_cfu_key" |
| 44 | android:singleLine="true" |
| 45 | android:autoText="false" |
| 46 | android:enabled="false" /> |
| 47 | |
| 48 | <!-- See note on com.android.phone.EditPreference above --> |
| 49 | <com.android.phone.CallForwardEditPreference |
| 50 | android:key="button_cfnry_key" |
| 51 | android:title="@string/labelCFNRy" |
| 52 | android:persistent="false" |
| 53 | android:summaryOn="@string/sum_cfnry_enabled" |
| 54 | android:summaryOff="@string/sum_cfnry_disabled" |
| 55 | android:dialogTitle="@string/labelCFNRy" |
| 56 | android:dialogMessage="@string/messageCFNRy" |
| 57 | phone:confirmMode="activation" |
| 58 | phone:serviceClass="voice" |
| 59 | phone:reason="no_reply" |
| 60 | android:dependency="button_cfu_key" |
| 61 | android:singleLine="true" |
| 62 | android:autoText="false" |
| 63 | android:enabled="false" /> |
| 64 | |
| 65 | <!-- See note on com.android.phone.EditPreference above --> |
| 66 | <com.android.phone.CallForwardEditPreference |
| 67 | android:key="button_cfnrc_key" |
| 68 | android:title="@string/labelCFNRc" |
| 69 | android:persistent="false" |
| 70 | android:summaryOn="@string/sum_cfnrc_enabled" |
| 71 | android:summaryOff="@string/sum_cfnrc_disabled" |
| 72 | android:dialogTitle="@string/labelCFNRc" |
| 73 | android:dialogMessage="@string/messageCFNRc" |
| 74 | phone:confirmMode="activation" |
| 75 | phone:serviceClass="voice" |
| 76 | phone:reason="not_reachable" |
| 77 | android:dependency="button_cfu_key" |
| 78 | android:singleLine="true" |
| 79 | android:autoText="false" |
| 80 | android:enabled="false" /> |
| 81 | </PreferenceScreen> |