• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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<!-- Please keep filterTouchesWhenObscured=true; it's to prevent tapjacking.
19     See https://developer.android.com/privacy-and-security/risks/tapjacking -->
20<LinearLayout
21    xmlns:android="http://schemas.android.com/apk/res/android"
22    xmlns:tools="http://schemas.android.com/tools"
23    android:id="@+id/sud_layout_template_content"
24    android:layout_width="match_parent"
25    android:layout_height="match_parent"
26    android:filterTouchesWhenObscured="true"
27    android:orientation="vertical">
28
29    <ViewStub
30        android:id="@+id/sud_layout_sticky_header"
31        android:layout_width="match_parent"
32        android:layout_height="wrap_content" />
33
34    <FrameLayout
35        android:id="@+id/sud_layout_container"
36        android:layout_width="match_parent"
37        android:layout_height="0dp"
38        android:layout_weight="1">
39
40        <!-- Ignore UnusedAttribute: scrollIndicators is new in M. Default to no indicators in older
41             versions. -->
42        <com.google.android.setupdesign.view.BottomScrollView
43            android:id="@+id/sud_scroll_view"
44            android:layout_width="match_parent"
45            android:layout_height="match_parent"
46            android:fillViewport="true"
47            android:scrollIndicators="?attr/sudScrollIndicators"
48            tools:ignore="UnusedAttribute">
49
50            <LinearLayout
51                android:layout_width="match_parent"
52                android:layout_height="wrap_content"
53                android:orientation="vertical">
54
55                <include layout="@layout/sud_glif_header" />
56
57                <ViewStub
58                    android:id="@+id/sud_layout_illustration_progress_stub"
59                    android:layout_width="match_parent"
60                    android:layout_height="wrap_content"
61                    android:inflatedId="@+id/sud_layout_progress_illustration"
62                    android:layout="@layout/sud_progress_illustration_layout" />
63
64                <FrameLayout
65                    android:id="@+id/sud_layout_content"
66                    android:layout_width="match_parent"
67                    android:layout_height="0dp"
68                    android:layout_weight="1" />
69
70            </LinearLayout>
71
72        </com.google.android.setupdesign.view.BottomScrollView>
73
74        <include layout="@layout/sud_glif_floating_back_button" />
75    </FrameLayout>
76
77    <ViewStub
78        android:id="@+id/suc_layout_footer"
79        android:layout_width="match_parent"
80        android:layout_height="wrap_content" />
81
82</LinearLayout>
83