• 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<!-- Please keep filterTouchesWhenObscured=true; it's to prevent tapjacking.
18     See https://developer.android.com/privacy-and-security/risks/tapjacking -->
19<LinearLayout
20    xmlns:android="http://schemas.android.com/apk/res/android"
21    android:id="@+id/sud_layout_template_content"
22    android:layout_width="match_parent"
23    android:layout_height="match_parent"
24    android:filterTouchesWhenObscured="true"
25    android:orientation="vertical">
26
27    <LinearLayout
28        android:layout_width="match_parent"
29        android:layout_height="0dp"
30        android:layout_weight="1"
31        android:orientation="horizontal">
32
33        <LinearLayout
34            android:id="@+id/sud_landscape_header_area"
35            android:layout_width="0dp"
36            android:layout_height="match_parent"
37            android:layout_weight="@dimen/sud_glif_land_header_area_weight"
38            android:orientation="vertical">
39
40            <ViewStub
41                android:id="@+id/sud_layout_sticky_header"
42                android:layout_width="match_parent"
43                android:layout_height="wrap_content" />
44
45            <com.google.android.setupdesign.view.BottomScrollView
46                android:id="@+id/sud_header_scroll_view"
47                android:layout_width="match_parent"
48                android:layout_height="match_parent"
49                android:fillViewport="true"
50                android:scrollIndicators="?attr/sudScrollIndicators">
51
52                <include layout="@layout/sud_glif_header" />
53
54            </com.google.android.setupdesign.view.BottomScrollView>
55
56        </LinearLayout>
57
58        <LinearLayout
59            android:id="@+id/sud_landscape_content_area"
60            style="@style/SudLandContentContianerStyle"
61            android:orientation="vertical">
62
63            <com.google.android.setupdesign.view.BottomScrollView
64                android:id="@+id/sud_scroll_view"
65                android:layout_width="match_parent"
66                android:layout_height="match_parent"
67                android:fillViewport="true"
68                android:scrollIndicators="?attr/sudScrollIndicators"
69                android:importantForAccessibility="no">
70
71                <LinearLayout
72                    android:layout_width="match_parent"
73                    android:layout_height="wrap_content"
74                    android:orientation="vertical">
75
76                    <FrameLayout
77                        android:id="@+id/sud_layout_content"
78                        android:paddingTop="?attr/sudGlifContentPaddingTop"
79                        android:layout_width="match_parent"
80                        android:layout_height="0dp"
81                        android:layout_weight="1" />
82
83                    <ViewStub
84                        android:id="@+id/sud_layout_illustration_progress_stub"
85                        android:layout_width="wrap_content"
86                        android:layout_height="wrap_content"
87                        android:inflatedId="@+id/sud_layout_progress_illustration"
88                        android:layout="@layout/sud_progress_illustration_layout" />
89                </LinearLayout>
90
91            </com.google.android.setupdesign.view.BottomScrollView>
92
93        </LinearLayout>
94
95    </LinearLayout>
96
97    <ViewStub
98        android:id="@+id/suc_layout_footer"
99        android:layout_width="match_parent"
100        android:layout_height="wrap_content" />
101
102</LinearLayout>