1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2021 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<FrameLayout 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 xmlns:app="http://schemas.android.com/apk/res-auto" 20 android:layout_width="match_parent" 21 android:layout_height="match_parent" 22 android:id="@+id/root_view" 23 android:background="@color/all_set_page_background" > 24 25 <androidx.constraintlayout.widget.ConstraintLayout 26 android:layout_width="match_parent" 27 android:layout_height="match_parent" 28 android:id="@+id/content_view" 29 android:fitsSystemWindows="false"> 30 31 <com.airbnb.lottie.LottieAnimationView 32 android:id="@+id/animated_background" 33 android:layout_width="match_parent" 34 android:layout_height="match_parent" 35 android:gravity="center" 36 android:scaleType="centerCrop" 37 app:lottie_autoPlay="true" 38 app:lottie_loop="true" /> 39 40 <androidx.constraintlayout.widget.ConstraintLayout 41 android:id="@+id/text_content_view" 42 android:layout_width="match_parent" 43 android:layout_height="match_parent" 44 android:layout_marginStart="@dimen/allset_page_margin_horizontal" 45 android:layout_marginEnd="@dimen/allset_page_margin_horizontal" 46 android:layoutDirection="locale" 47 android:textDirection="locale" 48 android:forceHasOverlappingRendering="false" 49 android:fitsSystemWindows="true" > 50 51 <ImageView 52 android:id="@+id/icon" 53 android:layout_width="wrap_content" 54 android:layout_height="wrap_content" 55 android:layout_marginTop="@dimen/allset_title_icon_margin_top" 56 app:layout_constraintTop_toTopOf="parent" 57 app:layout_constraintStart_toStartOf="parent" 58 android:src="@drawable/ic_all_set"/> 59 60 <TextView 61 android:id="@+id/title" 62 style="@style/TextAppearance.GestureTutorial.Feedback.Title.AllSet" 63 android:layout_width="match_parent" 64 android:layout_height="wrap_content" 65 android:layout_marginTop="@dimen/allset_title_margin_top" 66 app:layout_constraintTop_toBottomOf="@id/icon" 67 app:layout_constraintStart_toStartOf="parent" 68 android:gravity="start" 69 android:text="@string/allset_title"/> 70 71 <TextView 72 android:id="@+id/subtitle" 73 style="@style/TextAppearance.GestureTutorial.Feedback.Subtitle.AllSet" 74 android:layout_width="match_parent" 75 android:layout_height="wrap_content" 76 android:layout_marginTop="@dimen/allset_subtitle_margin_top" 77 app:layout_constraintTop_toBottomOf="@id/title" 78 app:layout_constraintStart_toStartOf="parent" 79 android:gravity="start"/> 80 81 <include layout="@layout/allset_navigation_and_hint"/> 82 83 </androidx.constraintlayout.widget.ConstraintLayout> 84 85 </androidx.constraintlayout.widget.ConstraintLayout> 86 87</FrameLayout>