1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2024 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<com.google.android.setupdesign.GlifLayout
19    xmlns:android="http://schemas.android.com/apk/res/android"
20    xmlns:app="http://schemas.android.com/apk/res-auto"
21    android:id="@+id/private_space_delete_layout"
22    android:layout_width="match_parent"
23    android:layout_height="match_parent"
24    android:orientation="vertical"
25    android:icon="@drawable/ic_delete_accent"
26    app:sucHeaderText="@string/private_space_delete_header">
27
28    <ScrollView
29        android:id="@+id/private_space_delete_scrollview"
30        android:layout_width="match_parent"
31        android:layout_height="match_parent">
32
33        <LinearLayout
34            android:id="@+id/private_space_delete_container"
35            style="@style/SudContentFrame"
36            android:layout_width="match_parent"
37            android:layout_height="wrap_content"
38            android:layout_marginTop="16dp"
39            android:orientation="vertical">
40
41            <TextView
42                style="@style/TextAppearance.PreferenceTitle.SettingsLib"
43                android:id="@+id/sud_layout_subtitle"
44                android:layout_width="match_parent"
45                android:layout_height="wrap_content"
46                android:text="@string/private_space_delete_summary"/>
47
48            <TextView
49                android:id="@+id/accounts_label"
50                style="@style/TextAppearance.PreferenceTitle.SettingsLib"
51                android:layout_marginTop="20dp"
52                android:layout_width="match_parent"
53                android:layout_height="wrap_content"
54                android:visibility="gone"
55                android:text="@string/private_space_accounts"/>
56            <LinearLayout
57                android:id="@+id/accounts"
58                android:layout_marginTop="20dp"
59                android:layout_width="wrap_content"
60                android:layout_height="wrap_content"
61                android:orientation="vertical"
62                android:visibility="gone">
63                <!-- Do not add any children here as they will be removed in the MainClear.java
64                   code. A list of accounts will be inserted programmatically. -->
65            </LinearLayout>
66        </LinearLayout>
67    </ScrollView>
68</com.google.android.setupdesign.GlifLayout>