1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2019 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License. 16 --> 17 18<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 19 android:layout_width="match_parent" 20 android:layout_height="wrap_content"> 21 22 <LinearLayout 23 android:orientation="vertical" 24 android:layout_width="match_parent" 25 android:layout_height="wrap_content" 26 android:padding="16dp"> 27 28 <LinearLayout 29 android:id="@+id/certificate_usage_group" 30 android:layout_width="match_parent" 31 android:layout_height="wrap_content" 32 android:orientation="vertical"> 33 34 <TextView 35 android:layout_width="match_parent" 36 android:layout_height="wrap_content" 37 android:text="@string/select_certificate_usage_title" 38 style="@style/dialog_title"/> 39 40 <View 41 android:layout_width="match_parent" 42 android:layout_height="1dip" 43 android:background="?android:attr/dividerHorizontal"/> 44 45 <RadioGroup 46 android:id="@+id/certificate_usage" 47 android:layout_width="wrap_content" 48 android:layout_height="wrap_content" 49 android:layout_marginTop="16dp"> 50 51 <RadioButton 52 android:id="@+id/user_certificate" 53 style="@style/dialog_button" 54 android:layout_width="match_parent" 55 android:layout_height="wrap_content" 56 android:text="@string/user_certificate" 57 android:checked="true"/> 58 59 <RadioButton 60 android:id="@+id/wifi_certificate" 61 style="@style/dialog_button" 62 android:layout_width="match_parent" 63 android:layout_height="wrap_content" 64 android:text="@string/wifi_certificate"/> 65 66 </RadioGroup> 67 68 <View 69 android:layout_width="match_parent" 70 android:layout_height="1dip" 71 android:background="?android:attr/dividerHorizontal"/> 72 73 </LinearLayout> 74 75 </LinearLayout> 76</ScrollView>