1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2023 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<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" 19 android:id="@+id/root_layout" 20 android:layout_width="match_parent" 21 android:layout_height="match_parent"> 22 23 <RelativeLayout 24 android:layout_width="match_parent" 25 android:layout_height="match_parent" 26 android:layout_marginHorizontal="20dp"> 27 <ScrollView 28 android:layout_height="wrap_content" 29 android:layout_width="match_parent" 30 > 31 <LinearLayout 32 android:layout_height="wrap_content" 33 android:layout_width="match_parent" 34 android:orientation="vertical"> 35 <TextView 36 android:id="@+id/feature_flags_title" 37 android:layout_gravity="start" 38 android:layout_height="wrap_content" 39 android:layout_width="wrap_content" 40 android:layout_marginVertical="15dp" 41 android:textSize="20sp" 42 android:text="@string/feature_flags" 43 /> 44 45 <TextView 46 android:id="@+id/feature_flags_status" 47 android:layout_gravity="start" 48 android:layout_height="wrap_content" 49 android:layout_width="wrap_content" 50 android:layout_marginVertical="15dp" 51 /> 52 53 <TextView 54 android:id="@+id/sdks_title" 55 android:layout_gravity="start" 56 android:layout_height="wrap_content" 57 android:layout_width="wrap_content" 58 android:layout_marginVertical="15dp" 59 android:textSize="20sp" 60 android:text="@string/sdks" 61 /> 62 63 <Button 64 android:id="@+id/load_sdks_button" 65 android:layout_gravity="start" 66 android:layout_height="wrap_content" 67 android:layout_width="wrap_content" 68 android:textAllCaps="false" /> 69 70 <TextView 71 android:id="@+id/ads_title" 72 android:layout_height="wrap_content" 73 android:layout_width="wrap_content" 74 android:textSize="20sp" 75 android:layout_marginVertical="15dp" 76 android:text="@string/ads" 77 /> 78 79 <LinearLayout 80 android:layout_width="wrap_content" 81 android:layout_height="wrap_content" 82 android:orientation="horizontal"> 83 <Button 84 android:id="@+id/new_banner_ad_button" 85 android:layout_height="wrap_content" 86 android:layout_width="wrap_content" 87 android:text="@string/new_banner_ad" 88 android:textAllCaps="false" /> 89 <android.widget.ImageButton 90 android:id="@+id/banner_ad_options_button" 91 android:layout_width="wrap_content" 92 android:layout_height="match_parent" 93 android:gravity="center" 94 android:src="@drawable/ic_settings" 95 /> 96 </LinearLayout> 97 98 <Button 99 android:id="@+id/new_fullscreen_ad_button" 100 android:layout_height="wrap_content" 101 android:layout_width="wrap_content" 102 android:text="@string/new_fullscreen_ad" 103 android:textAllCaps="false" /> 104 105 <Button 106 android:id="@+id/new_app_webview_button" 107 android:layout_height="wrap_content" 108 android:layout_width="wrap_content" 109 android:text="@string/new_app_webview" 110 android:textAllCaps="false" /> 111 112 <Button 113 android:id="@+id/new_app_video_button" 114 android:layout_height="wrap_content" 115 android:layout_width="wrap_content" 116 android:text="@string/new_app_video" 117 android:textAllCaps="false" /> 118 119 <TextView 120 android:id="@+id/extra_title" 121 android:layout_height="wrap_content" 122 android:layout_width="wrap_content" 123 android:textSize="20sp" 124 android:layout_marginVertical="15dp" 125 android:text="@string/extra" 126 /> 127 128 <Button 129 android:id="@+id/release_all_scvh_button" 130 android:layout_gravity="start" 131 android:layout_height="wrap_content" 132 android:layout_width="wrap_content" 133 android:text="@string/release_all_scvh" 134 android:textAllCaps="false" /> 135 136 <Button 137 android:id="@+id/add_death_callback_button" 138 android:layout_gravity="start" 139 android:layout_height="wrap_content" 140 android:layout_width="wrap_content" 141 android:text="@string/add_death_callback" 142 android:textAllCaps="false" /> 143 144 <Button 145 android:id="@+id/remove_death_callback_button" 146 android:layout_gravity="start" 147 android:layout_height="wrap_content" 148 android:layout_width="wrap_content" 149 android:text="@string/remove_death_callback" 150 android:textAllCaps="false" /> 151 152 <Button 153 android:id="@+id/get_filedescriptor_button" 154 android:layout_height="wrap_content" 155 android:layout_width="wrap_content" 156 android:text="@string/get_filedescriptor" 157 android:textAllCaps="false" /> 158 159 <Button 160 android:id="@+id/send_filedescriptor_button" 161 android:layout_height="wrap_content" 162 android:layout_width="wrap_content" 163 android:text="@string/send_filedescriptor" 164 android:textAllCaps="false" /> 165 166 <Button 167 android:id="@+id/create_file_button" 168 android:layout_height="wrap_content" 169 android:layout_width="wrap_content" 170 android:text="@string/create_file" 171 android:textAllCaps="false" /> 172 173 <Button 174 android:id="@+id/enable_sdk_sdk_button" 175 android:layout_height="wrap_content" 176 android:layout_width="wrap_content" 177 android:text="@string/enable_sdk_sdk" 178 android:textAllCaps="false" /> 179 180 <Button 181 android:id="@+id/sync_keys_button" 182 android:layout_height="wrap_content" 183 android:layout_width="wrap_content" 184 android:text="@string/sync_keys" 185 android:textAllCaps="false" /> 186 187 <Button 188 android:id="@+id/dump_sandbox_button" 189 android:layout_height="wrap_content" 190 android:layout_width="wrap_content" 191 android:text="@string/dump_sandbox" 192 android:textAllCaps="false" /> 193 194 <Button 195 android:id="@+id/reset_preferences_button" 196 android:layout_marginTop="10dp" 197 android:layout_height="wrap_content" 198 android:layout_width="wrap_content" 199 android:text="@string/reset_preferences" 200 android:textAllCaps="false" /> 201 202 <TextView 203 android:id="@+id/ad_space_title" 204 android:layout_height="wrap_content" 205 android:layout_width="wrap_content" 206 android:textSize="20sp" 207 android:layout_marginVertical="15dp" 208 android:text="@string/ad_space" 209 /> 210 <LinearLayout 211 android:id="@+id/ad_space_linear_layout" 212 android:layout_width="match_parent" 213 android:layout_height="400dp" 214 android:orientation="vertical" > 215 <SurfaceView 216 android:id="@+id/in_scroll_banner_view" 217 android:layout_width="match_parent" 218 android:layout_height="80dp" 219 /> 220 </LinearLayout> 221 </LinearLayout> 222 </ScrollView> 223 <SurfaceView 224 android:id="@+id/bottom_banner_view" 225 android:layout_marginVertical="10dp" 226 android:layout_width="match_parent" 227 android:layout_height="80dp" 228 android:layout_alignParentBottom="true" 229 /> 230 </RelativeLayout> 231</androidx.coordinatorlayout.widget.CoordinatorLayout> 232