• 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:app="http://schemas.android.com/apk/res-auto"
23    xmlns:tools="http://schemas.android.com/tools"
24    android:id="@+id/sud_layout_template_content"
25    android:layout_width="match_parent"
26    android:layout_height="match_parent"
27    android:filterTouchesWhenObscured="true"
28    android:orientation="vertical">
29
30    <ViewStub
31        android:id="@+id/sud_layout_sticky_header"
32        android:layout_width="match_parent"
33        android:layout_height="wrap_content" />
34
35    <FrameLayout
36        android:id="@+id/sud_layout_container"
37        android:layout_width="match_parent"
38        android:layout_height="0dp"
39        android:layout_weight="1">
40
41        <!-- Ignore UnusedAttribute: scrollIndicators is new in M. Default to no indicators in older
42             versions. -->
43        <com.google.android.setupdesign.view.HeaderRecyclerView
44            android:id="@+id/sud_recycler_view"
45            android:layout_width="match_parent"
46            android:layout_height="match_parent"
47            android:scrollbars="vertical"
48            android:scrollIndicators="?attr/sudScrollIndicators"
49            app:sudHeader="@layout/sud_glif_header"
50            app:sudShouldApplyAdditionalMargin="true"
51            tools:ignore="UnusedAttribute" />
52
53        <include layout="@layout/sud_glif_floating_back_button" />
54    </FrameLayout>
55
56    <ViewStub
57        android:id="@+id/suc_layout_footer"
58        android:layout_width="match_parent"
59        android:layout_height="wrap_content" />
60
61</LinearLayout>
62