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    <com.google.android.setupdesign.view.FillContentLayout
28        style="@style/SudContentFrame"
29        android:layout_width="match_parent"
30        android:layout_height="match_parent"
31        android:maxWidth="@dimen/animation_max_size"
32        android:maxHeight="@dimen/animation_max_size">
33
34        <com.airbnb.lottie.LottieAnimationView
35            android:id="@+id/lottie_animation"
36            style="@style/SudContentIllustration"
37            android:layout_width="match_parent"
38            android:layout_height="match_parent"
39            app:lottie_autoPlay="true"
40            app:lottie_loop="true"
41            app:lottie_rawRes="@raw/private_space_illustration"/>
42    </com.google.android.setupdesign.view.FillContentLayout>
43
44</com.google.android.setupdesign.GlifLayout>
45