<?xml version="1.0" encoding="utf-8"?>
|
<!-- Copyright (C) 2011 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/eth_settings">
|
|
<PreferenceCategory
|
android:key="connect_mode"
|
android:title="@string/eth_connect_mode"/>
|
|
<com.android.settings.ethernet.RadioButtonPreference
|
android:key="dhcp_mode"
|
android:title="@string/eth_mode_dhcp"
|
android:persistent="false" />
|
<com.android.settings.ethernet.RadioButtonPreference
|
android:key="static_mode"
|
android:title="@string/eth_mode_static"
|
android:persistent="false" />
|
|
<PreferenceCategory
|
android:key="eth_info"
|
android:title="@string/eth_info"/>
|
|
<Preference android:key="mac_address"
|
style="?android:attr/preferenceInformationStyle"
|
android:title="@string/eth_mac_address"
|
android:summary="@string/eth_mac_string"
|
/>
|
|
<Preference android:key="current_ip_address"
|
style="?android:attr/preferenceInformationStyle"
|
android:title="@string/eth_ip_address"
|
android:summary="@string/eth_ip_string"
|
/>
|
|
<Preference android:key="gw_address"
|
style="?android:attr/preferenceInformationStyle"
|
android:title="@string/eth_gw_address"
|
android:summary="@string/eth_gw_string"
|
/>
|
|
<Preference android:key="dns1_address"
|
style="?android:attr/preferenceInformationStyle"
|
android:title="@string/eth_dns1_address"
|
android:summary="@string/eth_dns1_string"
|
/>
|
|
<Preference android:key="dns2_address"
|
style="?android:attr/preferenceInformationStyle"
|
android:title="@string/eth_dns2_address"
|
android:summary="@string/eth_dns2_string"
|
/>
|
|
<Preference android:key="mask_address"
|
style="?android:attr/preferenceInformationStyle"
|
android:title="@string/eth_mask_address"
|
android:summary="@string/eth_mask_string"
|
/>
|
</PreferenceScreen>
|