1<!--
2  ~ Copyright (C) 2023 The Android Open Source Project
3  ~
4  ~ Licensed under the Apache License, Version 2.0 (the "License");
5  ~ you may not use this file except in compliance with the License.
6  ~ You may obtain a copy of the License at
7  ~
8  ~      http://www.apache.org/licenses/LICENSE-2.0
9  ~
10  ~ Unless required by applicable law or agreed to in writing, software
11  ~ distributed under the License is distributed on an "AS IS" BASIS,
12  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  ~ See the License for the specific language governing permissions and
14  ~ limitations under the License.
15  -->
16
17<com.google.android.setupdesign.GlifLayout
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:app="http://schemas.android.com/apk/res-auto"
20    android:id="@+id/private_space_setup_success"
21    android:layout_width="match_parent"
22    android:layout_height="match_parent"
23    android:filterTouchesWhenObscured="true"
24    app:sucHeaderText="@string/private_space_success_title"
25    app:sudDescriptionText="@string/private_space_access_text"
26    android:icon="@drawable/ic_privatespace_done">
27    <LinearLayout
28        android:id="@+id/sud_layout_container"
29        android:layout_width="match_parent"
30        android:layout_height="match_parent"
31        android:orientation="vertical"
32        android:gravity="center">
33        <FrameLayout
34            android:layout_width="match_parent"
35            android:layout_height="wrap_content"
36            style="@style/SudContentFrame">
37            <com.airbnb.lottie.LottieAnimationView
38                android:id="@+id/lottie_animation"
39                style="@style/SudContentIllustration"
40                android:layout_width="wrap_content"
41                android:layout_height="wrap_content"
42                app:lottie_autoPlay="true"
43                app:lottie_loop="true"
44                app:lottie_rawRes="@raw/private_space_illustration"/>
45        </FrameLayout>
46    </LinearLayout>
47</com.google.android.setupdesign.GlifLayout>
48