1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2022 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<androidx.core.widget.NestedScrollView 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 android:id="@+id/nested_scroll_view" 20 android:contentDescription="@string/safety_center_qs_page_landing" 21 style="@style/SafetyCenterQsContainer"> 22 23 <LinearLayout 24 android:layout_width="match_parent" 25 android:layout_height="wrap_content" 26 android:orientation="vertical"> 27 28 <ImageView 29 android:id="@+id/close_button" 30 android:src="@drawable/ic_close" 31 android:contentDescription="@string/safety_center_qs_close_button" 32 style="@style/SafetyCenterQsCloseButton"/> 33 34 <LinearLayout 35 android:id="@+id/main_page_contents" 36 android:layout_height="wrap_content" 37 style="@style/SafetyCenterQsBody"> 38 39 <TextView 40 android:id="@+id/permission_section_title" 41 android:text="@string/sensor_permissions_qs" 42 android:visibility="gone" 43 android:focusable="true" 44 android:importantForAccessibility="yes" 45 style="@style/SafetyCenterQsSectionTitle"/> 46 47 <LinearLayout 48 android:layout_width="match_parent" 49 android:layout_height="wrap_content" 50 android:orientation="vertical" 51 android:id="@+id/permission_usage" 52 style="@style/SafetyCenterQsPermissionUsage"/> 53 54 <TextView 55 android:id="@+id/status_section_title" 56 android:text="@string/safety_privacy_qs_tile_title" 57 android:visibility="gone" 58 android:focusable="true" 59 android:importantForAccessibility="yes" 60 style="@style/SafetyCenterQsSectionTitle"/> 61 62 <FrameLayout 63 android:id="@+id/safety_center_prefs" 64 style="@style/SafetyCenterQsPreferences"> 65 </FrameLayout> 66 67 <TextView 68 android:id="@+id/sensor_privacy_title" 69 android:text="@string/privacy_controls_qs" 70 android:focusable="true" 71 android:importantForAccessibility="yes" 72 style="@style/SafetyCenterQsSectionTitle"/> 73 74 <LinearLayout 75 android:id="@+id/toggle_container" 76 android:background="@drawable/safety_entity_top_large_bottom_large_background" 77 style="@style/SafetyCenterQsToggleContainer" /> 78 79 </LinearLayout> 80 </LinearLayout> 81</androidx.core.widget.NestedScrollView> 82