Home | History | Annotate | Download | only in xml
      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"
     18         xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
     19         android:title="@string/apn_edit">
     20     <EditTextPreference
     21         android:title="@string/apn_name"
     22         android:dialogTitle="@string/apn_name"
     23         android:key="apn_name"
     24         android:singleLine="true"
     25         android:inputType="text"
     26         />
     27     <EditTextPreference
     28         android:title="@string/apn_apn"
     29         android:dialogTitle="@string/apn_apn"
     30         android:key="apn_apn"
     31         android:singleLine="true"
     32         android:inputType="textEmailAddress"
     33         />
     34     <EditTextPreference
     35         android:title="@string/apn_http_proxy"
     36         android:dialogTitle="@string/apn_http_proxy"
     37         android:key="apn_http_proxy"
     38         android:singleLine="true"
     39         android:inputType="textUri"
     40         />
     41     <EditTextPreference
     42         android:title="@string/apn_http_port"
     43         android:dialogTitle="@string/apn_http_port"
     44         android:key="apn_http_port"
     45         android:singleLine="true"
     46         android:inputType="number"
     47         />
     48     <EditTextPreference
     49         android:title="@string/apn_user"
     50         android:dialogTitle="@string/apn_user"
     51         android:key="apn_user"
     52         android:singleLine="true"
     53         android:inputType="textEmailAddress"
     54         />
     55     <EditTextPreference
     56         android:title="@string/apn_password"
     57         android:dialogTitle="@string/apn_password"
     58         android:key="apn_password"
     59         android:singleLine="true"
     60         android:inputType="textPassword"
     61         />
     62     <EditTextPreference
     63         android:title="@string/apn_server"
     64         android:dialogTitle="@string/apn_server"
     65         android:key="apn_server"
     66         android:singleLine="true"
     67         android:inputType="textUri"
     68         />
     69     <EditTextPreference
     70         android:title="@string/apn_mmsc"
     71         android:dialogTitle="@string/apn_mmsc"
     72         android:key="apn_mmsc"
     73         android:singleLine="true"
     74         android:inputType="textUri"
     75         />
     76     <EditTextPreference
     77         android:title="@string/apn_mms_proxy"
     78         android:dialogTitle="@string/apn_mms_proxy"
     79         android:key="apn_mms_proxy"
     80         android:singleLine="true"
     81         android:inputType="textUri"
     82         />
     83     <EditTextPreference
     84         android:title="@string/apn_mms_port"
     85         android:dialogTitle="@string/apn_mms_port"
     86         android:key="apn_mms_port"
     87         android:singleLine="true"
     88         android:inputType="number"
     89         />
     90     <EditTextPreference
     91         android:title="@string/apn_mcc"
     92         android:dialogTitle="@string/apn_mcc"
     93         android:key="apn_mcc"
     94         android:singleLine="true"
     95         android:inputType="number"
     96         />
     97     <EditTextPreference
     98         android:title="@string/apn_mnc"
     99         android:dialogTitle="@string/apn_mnc"
    100         android:key="apn_mnc"
    101         android:singleLine="true"
    102         android:inputType="number"
    103         />
    104     <ListPreference
    105         android:title="@string/apn_auth_type"
    106         android:key="auth_type"
    107         android:entries="@array/apn_auth_entries"
    108         android:entryValues="@array/apn_auth_values"
    109         />
    110     <EditTextPreference
    111         android:title="@string/apn_type"
    112         android:dialogTitle="@string/apn_type"
    113         android:key="apn_type"
    114         android:singleLine="true"
    115         android:inputType="textNoSuggestions"
    116         />
    117     <ListPreference
    118         android:title="@string/apn_protocol"
    119         android:dialogTitle="@string/apn_protocol"
    120         android:key="apn_protocol"
    121         android:entries="@array/apn_protocol_entries"
    122         android:entryValues="@array/apn_protocol_values"
    123         />
    124     <ListPreference
    125         android:title="@string/apn_roaming_protocol"
    126         android:dialogTitle="@string/apn_roaming_protocol"
    127         android:key="apn_roaming_protocol"
    128         android:entries="@array/apn_protocol_entries"
    129         android:entryValues="@array/apn_protocol_values"
    130         />
    131     <CheckBoxPreference
    132         android:title="@string/carrier_enabled"
    133         android:key="carrier_enabled"
    134         android:enabled="false"
    135         android:summaryOn="@string/carrier_enabled_summaryOn"
    136         android:summaryOff="@@string/carrier_enabled_summaryOff"
    137         />
    138     <ListPreference
    139         android:title="@string/bearer"
    140         android:key="bearer"
    141         android:entries="@array/bearer_entries"
    142         android:entryValues="@array/bearer_values"
    143         />
    144     <ListPreference
    145         android:title="@string/mvno_type"
    146         android:key="mvno_type"
    147         android:entries="@array/mvno_type_entries"
    148         android:entryValues="@array/mvno_type_values"
    149         />
    150     <EditTextPreference
    151         android:title="@string/mvno_match_data"
    152         android:dialogTitle="@string/mvno_match_data"
    153         android:key="mvno_match_data"
    154         android:singleLine="true"
    155         android:inputType="text"
    156         />
    157 </PreferenceScreen>   
    158