178 lines
		
	
	
		
			6.2 KiB
		
	
	
	
		
			XML
		
	
	
	
			
		
		
	
	
			178 lines
		
	
	
		
			6.2 KiB
		
	
	
	
		
			XML
		
	
	
	
| <?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"
 | |
|                   android:title="@string/apn_edit">
 | |
|     <EditTextPreference
 | |
|         android:title="@string/apn_name"
 | |
|         android:dialogTitle="@string/apn_name"
 | |
|         android:key="apn_name"
 | |
|         android:singleLine="true"
 | |
|         android:inputType="text"
 | |
|         android:persistent="false"
 | |
|         />
 | |
|     <EditTextPreference
 | |
|         android:title="@string/apn_apn"
 | |
|         android:dialogTitle="@string/apn_apn"
 | |
|         android:key="apn_apn"
 | |
|         android:singleLine="true"
 | |
|         android:inputType="textEmailAddress"
 | |
|         android:persistent="false"
 | |
|         />
 | |
|     <EditTextPreference
 | |
|         android:title="@string/apn_http_proxy"
 | |
|         android:dialogTitle="@string/apn_http_proxy"
 | |
|         android:key="apn_http_proxy"
 | |
|         android:singleLine="true"
 | |
|         android:inputType="textUri"
 | |
|         android:persistent="false"
 | |
|         />
 | |
|     <EditTextPreference
 | |
|         android:title="@string/apn_http_port"
 | |
|         android:dialogTitle="@string/apn_http_port"
 | |
|         android:key="apn_http_port"
 | |
|         android:singleLine="true"
 | |
|         android:inputType="number"
 | |
|         android:persistent="false"
 | |
|         />
 | |
|     <EditTextPreference
 | |
|         android:title="@string/apn_user"
 | |
|         android:dialogTitle="@string/apn_user"
 | |
|         android:key="apn_user"
 | |
|         android:singleLine="true"
 | |
|         android:inputType="textEmailAddress"
 | |
|         android:persistent="false"
 | |
|         />
 | |
|     <EditTextPreference
 | |
|         android:title="@string/apn_password"
 | |
|         android:dialogTitle="@string/apn_password"
 | |
|         android:key="apn_password"
 | |
|         android:singleLine="true"
 | |
|         android:inputType="textPassword"
 | |
|         android:persistent="false"
 | |
|         />
 | |
|     <EditTextPreference
 | |
|         android:title="@string/apn_server"
 | |
|         android:dialogTitle="@string/apn_server"
 | |
|         android:key="apn_server"
 | |
|         android:singleLine="true"
 | |
|         android:inputType="textUri"
 | |
|         android:persistent="false"
 | |
|         />
 | |
|     <EditTextPreference
 | |
|         android:title="@string/apn_mmsc"
 | |
|         android:dialogTitle="@string/apn_mmsc"
 | |
|         android:key="apn_mmsc"
 | |
|         android:singleLine="true"
 | |
|         android:inputType="textUri"
 | |
|         android:persistent="false"
 | |
|         />
 | |
|     <EditTextPreference
 | |
|         android:title="@string/apn_mms_proxy"
 | |
|         android:dialogTitle="@string/apn_mms_proxy"
 | |
|         android:key="apn_mms_proxy"
 | |
|         android:singleLine="true"
 | |
|         android:inputType="textUri"
 | |
|         android:persistent="false"
 | |
|         />
 | |
|     <EditTextPreference
 | |
|         android:title="@string/apn_mms_port"
 | |
|         android:dialogTitle="@string/apn_mms_port"
 | |
|         android:key="apn_mms_port"
 | |
|         android:singleLine="true"
 | |
|         android:inputType="number"
 | |
|         android:persistent="false"
 | |
|         />
 | |
|     <EditTextPreference
 | |
|         android:title="@string/apn_mcc"
 | |
|         android:dialogTitle="@string/apn_mcc"
 | |
|         android:key="apn_mcc"
 | |
|         android:singleLine="true"
 | |
|         android:inputType="number"
 | |
|         android:persistent="false"
 | |
|         />
 | |
|     <EditTextPreference
 | |
|         android:title="@string/apn_mnc"
 | |
|         android:dialogTitle="@string/apn_mnc"
 | |
|         android:key="apn_mnc"
 | |
|         android:singleLine="true"
 | |
|         android:inputType="number"
 | |
|         android:persistent="false"
 | |
|         />
 | |
|     <ListPreference
 | |
|         android:title="@string/apn_auth_type"
 | |
|         android:key="auth_type"
 | |
|         android:entries="@array/apn_auth_entries"
 | |
|         android:entryValues="@array/apn_auth_values"
 | |
|         android:persistent="false"
 | |
|         />
 | |
|     <EditTextPreference
 | |
|         android:title="@string/apn_type"
 | |
|         android:dialogTitle="@string/apn_type"
 | |
|         android:key="apn_type"
 | |
|         android:singleLine="true"
 | |
|         android:inputType="textNoSuggestions"
 | |
|         android:persistent="false"
 | |
|         />
 | |
|     <ListPreference
 | |
|         android:title="@string/apn_protocol"
 | |
|         android:dialogTitle="@string/apn_protocol"
 | |
|         android:key="apn_protocol"
 | |
|         android:entries="@array/apn_protocol_entries"
 | |
|         android:entryValues="@array/apn_protocol_values"
 | |
|         android:persistent="false"
 | |
|         />
 | |
|     <ListPreference
 | |
|         android:title="@string/apn_roaming_protocol"
 | |
|         android:dialogTitle="@string/apn_roaming_protocol"
 | |
|         android:key="apn_roaming_protocol"
 | |
|         android:entries="@array/apn_protocol_entries"
 | |
|         android:entryValues="@array/apn_protocol_values"
 | |
|         android:persistent="false"
 | |
|         />
 | |
|     <SwitchPreference
 | |
|         android:title="@string/carrier_enabled"
 | |
|         android:key="carrier_enabled"
 | |
|         android:enabled="false"
 | |
|         android:summaryOn="@string/carrier_enabled_summaryOn"
 | |
|         android:summaryOff="@string/carrier_enabled_summaryOff"
 | |
|         android:persistent="false"
 | |
|         />
 | |
|     <MultiSelectListPreference
 | |
|         android:title="@string/bearer"
 | |
|         android:key="bearer_multi"
 | |
|         android:entries="@array/bearer_entries"
 | |
|         android:entryValues="@array/bearer_values"
 | |
|         android:persistent="false"
 | |
|         style="@style/SettingsMultiSelectListPreference"
 | |
|         />
 | |
|     <ListPreference
 | |
|         android:title="@string/mvno_type"
 | |
|         android:key="mvno_type"
 | |
|         android:entries="@array/mvno_type_entries"
 | |
|         android:entryValues="@array/mvno_type_values"
 | |
|         android:persistent="false"
 | |
|         />
 | |
|     <EditTextPreference
 | |
|         android:title="@string/mvno_match_data"
 | |
|         android:dialogTitle="@string/mvno_match_data"
 | |
|         android:key="mvno_match_data"
 | |
|         android:singleLine="true"
 | |
|         android:inputType="text"
 | |
|         android:persistent="false"
 | |
|         />
 | |
| </PreferenceScreen>
 |