50 lines
2.2 KiB
XML
50 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright 2018 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"
|
|
xmlns:settings="http://schemas.android.com/apk/res-auto"
|
|
android:title="@string/wifi_setup_add_network"
|
|
android:key="@string/psk_add_wifi">
|
|
<com.android.car.ui.preference.CarUiEditTextPreference
|
|
android:key="@string/pk_add_wifi_network_name"
|
|
android:persistent="false"
|
|
android:title="@string/wifi_ssid"
|
|
settings:controller="com.android.car.settings.wifi.NetworkNamePreferenceController"
|
|
settings:occupant_front_passenger="read"
|
|
settings:occupant_rear_passenger="read"
|
|
settings:showChevron="false"/>
|
|
<ListPreference
|
|
android:dialogTitle="@string/wifi_security"
|
|
android:key="@string/pk_add_wifi_security"
|
|
android:persistent="false"
|
|
android:title="@string/wifi_security"
|
|
settings:controller="com.android.car.settings.wifi.NetworkSecurityPreferenceController"
|
|
settings:occupant_front_passenger="read"
|
|
settings:occupant_rear_passenger="read"/>
|
|
<com.android.car.settings.wifi.NetworkNameRestrictedPasswordEditTextPreference
|
|
android:dialogTitle="@string/wifi_password"
|
|
android:key="@string/pk_add_wifi_password"
|
|
android:persistent="false"
|
|
android:summary="@string/default_password_summary"
|
|
android:title="@string/wifi_password"
|
|
settings:controller="com.android.car.settings.wifi.NetworkPasswordPreferenceController"
|
|
settings:occupant_front_passenger="read"
|
|
settings:occupant_rear_passenger="read"
|
|
settings:showChevron="false"/>
|
|
</PreferenceScreen>
|