1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2015 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<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 17 android:orientation="vertical" 18 android:layout_width="match_parent" 19 android:layout_height="match_parent"> 20 21 <ScrollView 22 android:layout_width="match_parent" 23 android:layout_height="320dp" 24 android:layout_weight="2"> 25 <TextView 26 android:id="@+id/device_owner_wifi_lockdown_info" 27 android:layout_width="match_parent" 28 android:layout_height="wrap_content" 29 android:padding="10dip" 30 android:text="@string/device_owner_wifi_lockdown_info" 31 android:textSize="18dip" /> 32 </ScrollView> 33 34 <EditText 35 android:id="@+id/device_owner_wifi_ssid" 36 android:hint="(SSID)" 37 android:layout_width="wrap_content" 38 android:layout_height="wrap_content" /> 39 40 <RadioGroup 41 android:id="@+id/device_owner_keyManagementMethods" 42 android:layout_width="match_parent" 43 android:layout_height="wrap_content" 44 android:orientation="horizontal"> 45 <RadioButton 46 android:id="@+id/device_owner_keymgmnt_none" 47 android:layout_width="wrap_content" 48 android:layout_height="wrap_content" 49 android:text="@string/device_owner_wifi_key_management_none_button" /> 50 <RadioButton 51 android:id="@+id/device_owner_keymgmnt_wpa" 52 android:layout_width="wrap_content" 53 android:layout_height="wrap_content" 54 android:text="@string/device_owner_wifi_key_management_wpa_button" /> 55 <RadioButton 56 android:id="@+id/device_owner_keymgmnt_wep" 57 android:layout_width="wrap_content" 58 android:layout_height="wrap_content" 59 android:text="@string/device_owner_wifi_key_management_wep_button" /> 60 </RadioGroup> 61 62 <Button 63 android:id="@+id/create_wifi_config_button" 64 android:layout_width="204dp" 65 android:layout_height="wrap_content" 66 android:text="@string/create_wifi_config_button_label" /> 67 68 <ListView 69 android:id="@+id/android:list" 70 android:layout_width="match_parent" 71 android:layout_height="wrap_content" 72 android:layout_weight="3" /> 73 74 <include layout="@layout/pass_fail_buttons" /> 75 76</LinearLayout> 77