1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 /** 4 * Copyright (C) 2014 The Android Open Source Project 5 * 6 * Licensed under the Apache License, Version 2.0 (the "License"); 7 * you may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an "AS IS" BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 */ 18 --> 19 <LinearLayout 20 xmlns:android="http://schemas.android.com/apk/res/android" 21 style="@style/DialogFragmentTextContainer"> 22 23 <ScrollView 24 android:layout_weight="1" 25 android:layout_height="0dp" 26 style="@style/DialogFragmentScrollView"> 27 28 <LinearLayout 29 android:layout_height="wrap_content" 30 android:layout_width="match_parent" 31 android:orientation="vertical"> 32 33 <TextView 34 android:id="@+id/learn_more_text1" 35 style="@style/MainText" 36 android:paddingTop="@dimen/row_padding_top"/> 37 38 <TextView 39 android:id="@+id/learn_more_frp_warning" 40 style="@style/MainText" 41 android:text="@string/theft_protection_disabled_warning" 42 android:visibility="gone"/> 43 44 <TextView 45 android:id="@+id/learn_more_text2" 46 android:text="@string/contact_your_admin_for_more_info" 47 style="@style/MainText"/> 48 49 <TextView 50 android:id="@+id/learn_more_link" 51 android:textColor="@color/accent" 52 android:text="@string/learn_more_link" 53 android:contentDescription="@string/learn_more_label" 54 style="@style/MainText" /> 55 56 <CheckBox 57 android:id="@+id/user_consent_checkbox" 58 android:text="@string/user_consent_msg" 59 style="@style/CheckBox" 60 android:visibility="gone"/> 61 62 </LinearLayout> 63 64 </ScrollView> 65 66 <RelativeLayout 67 android:layout_width="match_parent" 68 android:layout_height="@dimen/row_height"> 69 70 <Button 71 android:id="@+id/positive_button" 72 android:layout_alignParentEnd="true" 73 android:layout_alignParentBottom="true" 74 android:text="@string/ok_setup" 75 style="@style/TransparentButton" /> 76 77 <Button 78 android:id="@+id/negative_button" 79 android:layout_alignParentBottom="true" 80 android:layout_toStartOf="@id/positive_button" 81 android:text="@string/cancel_setup" 82 style="@style/TransparentButton" /> 83 84 </RelativeLayout> 85 86 </LinearLayout> 87