1<?xml version="1.0" encoding="utf-8"?> 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<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android" 17 xmlns:tools="http://schemas.android.com/tools" 18 android:id="@+id/main_u18_activity" 19 android:layout_width="match_parent" 20 android:layout_height="match_parent" 21 android:orientation="vertical" > 22 <androidx.core.widget.NestedScrollView 23 android:layout_width="match_parent" 24 android:layout_height="match_parent" 25 android:scrollbars="vertical" 26 android:focusableInTouchMode="true"> 27 <LinearLayout 28 android:layout_width="match_parent" 29 android:layout_height="wrap_content" 30 android:orientation="vertical"> 31 <LinearLayout 32 android:layout_width="match_parent" 33 android:layout_height="wrap_content" 34 android:paddingStart="@dimen/adservices_content_horizontal_padding" 35 android:paddingEnd="@dimen/adservices_content_horizontal_padding" 36 android:orientation="vertical"> 37 <ImageView 38 android:id="@+id/main_view_ga_pic" 39 android:layout_width="match_parent" 40 android:layout_height="wrap_content" 41 android:layout_marginTop="@dimen/main_view_pic_margin" 42 android:src="@drawable/ic_main_view_ga_image" 43 android:contentDescription="@string/ic_main_view_ga_image_description" 44 /> 45 </LinearLayout> 46 <LinearLayout 47 android:id="@+id/privacy_sandbox_controls" 48 android:layout_width="match_parent" 49 android:layout_height="wrap_content" 50 android:orientation="vertical"> 51 <LinearLayout 52 android:id="@+id/measurement_preference" 53 android:focusable="true" 54 style="@style/PreferenceStyle"> 55 <TextView 56 android:id="@+id/measurement_preference_title" 57 android:text="@string/settingsUI_u18_measurement_view_title" 58 android:layout_marginTop="0dp" 59 style="@style/MainStyle.H5"/> 60 <TextView 61 android:id="@+id/measurement_preference_subtitle" 62 style="@style/MainStyle.Subtitle"/> 63 </LinearLayout> 64 </LinearLayout> 65 66 <LinearLayout 67 android:id="@+id/main_view_u18_footer" 68 android:layout_width="match_parent" 69 android:layout_height="wrap_content" 70 android:paddingHorizontal="@dimen/adservices_content_horizontal_padding" 71 android:paddingBottom="@dimen/adservices_content_2x_padding" 72 android:focusable="false" 73 android:orientation="vertical"> 74 <ImageView 75 android:layout_width="wrap_content" 76 android:layout_height="wrap_content" 77 android:layout_marginTop="@dimen/adservices_content_two_thirds_padding" 78 android:src="@drawable/ic_info_icon" 79 tools:ignore="ContentDescription" /> 80 <TextView 81 android:text="@string/settingsUI_u18_measurement_view_title" 82 android:layout_marginStart="0dp" 83 style="@style/MainStyle.Body2BoldBullet" /> 84 <TextView 85 android:text="@string/settingsUI_u18_main_view_measurement_info" 86 style="@style/MainStyle.Body2" /> 87 </LinearLayout> 88 </LinearLayout> 89 </androidx.core.widget.NestedScrollView> 90</androidx.appcompat.widget.LinearLayoutCompat> 91