1<!-- 2 ~ Copyright (C) 2022 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:id="@+id/grant_admin_view" 18 android:orientation="vertical" 19 android:layout_width="match_parent" 20 android:layout_height="match_parent" 21 android:paddingLeft="@dimen/dialog_content_padding" 22 android:paddingBottom="@dimen/dialog_content_padding" 23 android:paddingRight="@dimen/dialog_content_padding"> 24 25 <RadioGroup 26 android:id="@+id/choose_admin" 27 android:layout_width="match_parent" 28 android:layout_height="wrap_content" 29 android:orientation="vertical"> 30 <RadioButton 31 android:id="@+id/grant_admin_yes" 32 android:layout_width="match_parent" 33 android:layout_height="wrap_content" 34 android:paddingTop="@dimen/radio_button_padding" 35 android:paddingBottom="@dimen/radio_button_padding" 36 android:paddingStart="@dimen/radio_button_padding_start" 37 android:text="@string/grant_admin"/> 38 <RadioButton 39 android:id="@+id/grant_admin_no" 40 android:layout_width="match_parent" 41 android:layout_height="wrap_content" 42 android:paddingTop="@dimen/radio_button_padding" 43 android:paddingBottom="@dimen/radio_button_padding" 44 android:paddingStart="@dimen/radio_button_padding_start" 45 android:text="@string/not_grant_admin"/> 46 </RadioGroup> 47</LinearLayout> 48