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