• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
18<LinearLayout
19    xmlns:android="http://schemas.android.com/apk/res/android"
20    xmlns:app="http://schemas.android.com/apk/res-auto"
21    android:id="@+id/sud_layout_template_content"
22    android:layout_width="match_parent"
23    android:layout_height="match_parent"
24    android:orientation="vertical">
25
26    <LinearLayout
27        android:layout_width="match_parent"
28        android:layout_height="0dp"
29        android:layout_weight="1"
30        android:orientation="horizontal">
31
32        <LinearLayout
33            android:id="@+id/sud_landscape_header_area"
34            android:layout_width="0dp"
35            android:layout_height="match_parent"
36            android:layout_weight="@dimen/sud_glif_land_header_area_weight"
37            android:orientation="vertical">
38
39            <ViewStub
40                android:id="@+id/sud_layout_sticky_header"
41                android:layout_width="match_parent"
42                android:layout_height="wrap_content" />
43
44            <com.google.android.setupdesign.view.BottomScrollView
45                android:id="@+id/sud_header_scroll_view"
46                android:layout_width="match_parent"
47                android:layout_height="match_parent"
48                android:fillViewport="true"
49                android:scrollIndicators="?attr/sudScrollIndicators">
50
51                <include layout="@layout/sud_glif_header" />
52
53            </com.google.android.setupdesign.view.BottomScrollView>
54
55        </LinearLayout>
56
57        <LinearLayout
58            android:id="@+id/sud_landscape_content_area"
59            android:layout_width="0dp"
60            android:layout_height="match_parent"
61            android:layout_weight="@dimen/sud_glif_land_content_area_weight"
62            android:orientation="vertical">
63
64            <com.google.android.setupdesign.view.HeaderRecyclerView
65                android:id="@+id/sud_recycler_view"
66                android:layout_width="match_parent"
67                android:layout_height="0dp"
68                android:layout_weight="1"
69                android:scrollbars="vertical"
70                android:scrollIndicators="?attr/sudScrollIndicators" />
71
72        </LinearLayout>
73
74    </LinearLayout>
75
76    <ViewStub
77        android:id="@+id/suc_layout_footer"
78        android:layout_width="match_parent"
79        android:layout_height="wrap_content" />
80
81</LinearLayout>
82