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
18<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
19            android:id="@+id/scrollView"
20            android:layout_width="match_parent"
21            android:layout_height="wrap_content"
22            android:clipToPadding="false">
23
24    <LinearLayout
25        android:layout_width="match_parent"
26        android:layout_height="wrap_content"
27        android:paddingTop="?android:attr/dialogPreferredPadding"
28        android:paddingRight="?android:attr/dialogPreferredPadding"
29        android:paddingLeft="?android:attr/dialogPreferredPadding"
30        android:orientation="vertical">
31        <LinearLayout
32            android:id="@+id/device_management_disclosures"
33            android:layout_width="match_parent"
34            android:layout_height="wrap_content"
35            android:paddingBottom="?android:attr/dialogPreferredPadding"
36            android:orientation="vertical">
37            <TextView
38                android:id="@+id/device_management_subtitle"
39                android:layout_width="match_parent"
40                android:layout_height="wrap_content"
41                style="@style/TextAppearance.CarUi.AlertDialog.Title"
42                android:paddingBottom="@dimen/device_management_dialog_subtitle_padding"
43            />
44            <TextView
45                android:id="@+id/device_management_warning"
46                android:layout_width="match_parent"
47                android:layout_height="wrap_content"
48                android:textAppearance="@style/TextAppearance.CarUi.AlertDialog.Subtitle"
49            />
50        </LinearLayout>
51
52        <LinearLayout
53            android:id="@+id/ca_certs_disclosures"
54            android:layout_width="match_parent"
55            android:layout_height="wrap_content"
56            android:paddingBottom="?android:attr/dialogPreferredPadding"
57            android:orientation="vertical">
58            <TextView
59                android:id="@+id/ca_certs_subtitle"
60                android:layout_width="match_parent"
61                android:layout_height="wrap_content"
62                android:text="@string/monitoring_subtitle_ca_certificate"
63                style="@style/TextAppearance.CarUi.AlertDialog.Title"
64                android:paddingBottom="@dimen/device_management_dialog_subtitle_padding"
65            />
66            <TextView
67                android:id="@+id/ca_certs_warning"
68                android:layout_width="match_parent"
69                android:layout_height="wrap_content"
70                android:textAppearance="@style/TextAppearance.CarUi.AlertDialog.Subtitle"
71            />
72        </LinearLayout>
73
74        <LinearLayout
75            android:id="@+id/network_logging_disclosures"
76            android:layout_width="match_parent"
77            android:layout_height="wrap_content"
78            android:paddingBottom="?android:attr/dialogPreferredPadding"
79            android:orientation="vertical">
80            <TextView
81                android:id="@+id/network_logging_subtitle"
82                android:layout_width="match_parent"
83                android:layout_height="wrap_content"
84                android:text="@string/monitoring_subtitle_network_logging"
85                style="@style/TextAppearance.CarUi.AlertDialog.Title"
86                android:paddingBottom="@dimen/device_management_dialog_subtitle_padding"
87            />
88            <TextView
89                android:id="@+id/network_logging_warning"
90                android:layout_width="match_parent"
91                android:layout_height="wrap_content"
92                android:textAppearance="@style/TextAppearance.CarUi.AlertDialog.Subtitle"
93            />
94        </LinearLayout>
95
96        <LinearLayout
97            android:id="@+id/vpn_disclosures"
98            android:layout_width="match_parent"
99            android:layout_height="wrap_content"
100            android:paddingBottom="?android:attr/dialogPreferredPadding"
101            android:orientation="vertical">
102            <TextView
103                android:id="@+id/vpn_subtitle"
104                android:layout_width="match_parent"
105                android:layout_height="wrap_content"
106                android:text="@string/monitoring_subtitle_vpn"
107                style="@style/TextAppearance.CarUi.AlertDialog.Title"
108                android:paddingBottom="@dimen/device_management_dialog_subtitle_padding"
109            />
110            <TextView
111                android:id="@+id/vpn_warning"
112                android:layout_width="match_parent"
113                android:layout_height="wrap_content"
114                android:textAppearance="@style/TextAppearance.CarUi.AlertDialog.Subtitle"
115            />
116        </LinearLayout>
117    </LinearLayout>
118</ScrollView>
119