1<!-- 2 ~ Copyright (C) 2023 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 17<com.google.android.setupdesign.GlifLayout 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 xmlns:app="http://schemas.android.com/apk/res-auto" 20 android:id="@+id/ps_education_screen" 21 android:layout_width="match_parent" 22 android:layout_height="match_parent" 23 android:filterTouchesWhenObscured="true" 24 app:sucHeaderText="@string/private_space_setup_title" 25 app:sudDescriptionText="@string/private_space_hide_apps_summary" 26 android:icon="@drawable/ic_private_space_icon"> 27 <ScrollView 28 android:id="@+id/main_clear_scrollview" 29 android:layout_width="match_parent" 30 android:layout_height="match_parent"> 31 <LinearLayout 32 android:id="@+id/sud_layout_icon_container" 33 style="@style/SudContentFrame" 34 android:layout_width="match_parent" 35 android:layout_height="wrap_content" 36 android:orientation="vertical"> 37 <com.airbnb.lottie.LottieAnimationView 38 android:id="@+id/lottie_animation" 39 style="@style/SudContentIllustration" 40 android:layout_width="match_parent" 41 android:layout_height="match_parent" 42 app:lottie_autoPlay="true" 43 app:lottie_loop="true" 44 app:lottie_rawRes="@raw/private_space_illustration"/> 45 <TextView 46 style="@style/PrivateSpaceSetupSubHeaderStyle" 47 android:text="@string/private_space_setup_sub_header"/> 48 <RelativeLayout 49 style="@style/PrivateSpaceSetupBulletPointLayoutStyle"> 50 <ImageView 51 android:id="@+id/lockIcon" 52 style="@style/PrivateSpaceBulletPointIconStyle" 53 android:src="@drawable/counter_1_24dp" /> 54 <TextView 55 style="@style/PrivateSpaceBulletPointTextFontStyle" 56 android:layout_toEndOf="@+id/lockIcon" 57 android:text="@string/private_space_separate_account_text"/> 58 </RelativeLayout> 59 <RelativeLayout 60 style="@style/PrivateSpaceSetupBulletPointLayoutStyle"> 61 <ImageView 62 android:id="@+id/bellIcon" 63 style="@style/PrivateSpaceBulletPointIconStyle" 64 android:src="@drawable/counter_2_24dp" /> 65 <TextView 66 style="@style/PrivateSpaceBulletPointTextFontStyle" 67 android:layout_toEndOf="@+id/bellIcon" 68 android:text="@string/private_space_protected_lock_text"/> 69 </RelativeLayout> 70 <RelativeLayout 71 style="@style/PrivateSpaceSetupBulletPointLayoutStyle" 72 android:layout_width="fill_parent" 73 android:layout_height="wrap_content"> 74 <ImageView 75 android:id="@+id/appsIcon" 76 style="@style/PrivateSpaceBulletPointIconStyle" 77 android:src="@drawable/counter_3_24dp" /> 78 <TextView 79 style="@style/PrivateSpaceBulletPointTextFontStyle" 80 android:layout_toEndOf="@+id/appsIcon" 81 android:text="@string/private_space_install_apps_text"/> 82 </RelativeLayout> 83 <TextView 84 style="@style/PrivateSpaceSetupSubHeaderStyle" 85 android:text="@string/private_space_keep_in_mind_text"/> 86 <RelativeLayout 87 style="@style/PrivateSpaceSetupBulletPointLayoutStyle" 88 android:layout_width="fill_parent" 89 android:layout_height="wrap_content"> 90 <ImageView 91 android:id="@+id/eduIcon" 92 style="@style/PrivateSpaceBulletPointIconStyle" 93 android:contentDescription="@null" 94 android:src="@drawable/ic_private_space_edu_icon" /> 95 <TextView 96 style="@style/PrivateSpaceBulletPointTextFontStyle" 97 android:layout_toEndOf="@+id/eduIcon" 98 android:text="@string/private_space_apps_stopped_text"/> 99 </RelativeLayout> 100 <Space 101 android:layout_width="wrap_content" 102 android:layout_height="16dp"/> 103 <RelativeLayout 104 style="@style/PrivateSpaceSetupBulletPointLayoutStyle"> 105 <ImageView 106 android:id="@+id/infoIcon" 107 style="@style/PrivateSpaceBulletPointIconStyle" 108 android:layout_width="18dp" 109 android:layout_height="18dp" 110 android:src="@drawable/ic_info_outline_24dp" /> 111 <TextView 112 android:id="@+id/info" 113 style="@style/PrivateSpaceBulletPointTextFontStyle" 114 android:textSize = "14sp" 115 android:layout_toEndOf="@+id/infoIcon" 116 android:text="@string/private_space_apps_permission_text"/> 117 <TextView 118 android:id="@+id/learn_more" 119 style="@style/PrivateSpaceSetupSubHeaderStyle" 120 android:layout_below="@id/info" 121 android:layout_alignStart="@+id/info" 122 android:paddingTop="24dp" 123 android:paddingLeft="16dp" 124 android:text="@string/private_space_learn_more_text"/> 125 </RelativeLayout> 126 </LinearLayout> 127 </ScrollView> 128</com.google.android.setupdesign.GlifLayout> 129