1 <?xml version="1.0" encoding="utf-8"?><!-- This Source Code Form is subject to the terms of the Mozilla Public
2 - License, v. 2.0. If a copy of the MPL was not distributed with this
3 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
5 <androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
6 xmlns:app="http://schemas.android.com/apk/res-auto"
7 xmlns:tools="http://schemas.android.com/tools"
8 android:layout_width="match_parent"
9 android:layout_height="match_parent"
10 android:contentDescription="@string/quick_settings_sheet"
11 android:fillViewport="true">
13 <androidx.constraintlayout.widget.ConstraintLayout
14 android:id="@+id/quick_action_sheet"
15 android:layout_width="match_parent"
16 android:layout_height="wrap_content"
17 android:background="?attr/layer1">
20 android:id="@+id/websiteInfoLayout"
21 android:layout_width="match_parent"
22 android:layout_height="wrap_content"
23 app:layout_constraintBottom_toTopOf="@id/webSitePermissionsDivider" />
26 android:id="@+id/websitePermissionsLayout"
27 android:layout_width="match_parent"
28 android:layout_height="wrap_content"
29 app:layout_constraintBottom_toTopOf="@id/trackingProtectionDivider" />
32 android:id="@+id/webSitePermissionsDivider"
33 android:layout_width="match_parent"
34 android:layout_height="1dp"
35 android:layout_marginTop="8dp"
36 android:layout_marginBottom="8dp"
37 android:background="?borderPrimary"
38 app:layout_constraintBottom_toTopOf="@id/websitePermissionsLayout" />
41 android:id="@+id/trackingProtectionLayout"
42 android:layout_width="match_parent"
43 android:layout_height="wrap_content"
44 app:layout_constraintBottom_toTopOf="@+id/clearSiteDataDivider" />
47 android:id="@+id/trackingProtectionDivider"
48 android:layout_width="match_parent"
49 android:layout_height="1dp"
50 android:layout_marginTop="8dp"
51 android:layout_marginBottom="8dp"
52 android:background="?borderPrimary"
53 app:layout_constraintBottom_toTopOf="@id/trackingProtectionLayout" />
56 android:id="@+id/clearSiteDataLayout"
57 android:layout_width="match_parent"
58 android:layout_height="wrap_content"
59 app:layout_constraintBottom_toBottomOf="parent" />
62 android:id="@+id/clearSiteDataDivider"
63 android:layout_width="match_parent"
64 android:layout_height="1dp"
65 android:layout_marginTop="8dp"
66 android:layout_marginBottom="8dp"
67 android:background="?borderPrimary"
68 app:layout_constraintBottom_toTopOf="@id/clearSiteDataLayout" />
70 <androidx.constraintlayout.widget.Group
71 android:id="@+id/websitePermissionsGroup"
72 android:layout_width="wrap_content"
73 android:layout_height="wrap_content"
74 android:visibility="gone"
75 app:constraint_referenced_ids="websitePermissionsLayout,webSitePermissionsDivider"
76 tools:visibility="visible" />
78 </androidx.constraintlayout.widget.ConstraintLayout>
79 </androidx.core.widget.NestedScrollView>