1<?xml version="1.0" encoding="utf-8"?><!-- 2 Copyright (C) 2022 The Android Open Source Project 3 Licensed under the Apache License, Version 2.0 (the "License"); 4 you may not use this file except in compliance with the License. 5 You may obtain a copy of the License at 6 http://www.apache.org/licenses/LICENSE-2.0 7 Unless required by applicable law or agreed to in writing, software 8 distributed under the License is distributed on an "AS IS" BASIS, 9 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 See the License for the specific language governing permissions and 11 limitations under the License. 12--> 13<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" 14 xmlns:app="http://schemas.android.com/apk/res-auto" 15 android:layout_width="match_parent" 16 android:layout_height="match_parent" 17 android:paddingBottom="108dp"> 18 19 <FrameLayout 20 android:id="@+id/section_header_container" 21 android:layout_width="match_parent" 22 android:layout_height="wrap_content" 23 app:layout_constraintBottom_toTopOf="@+id/preview_card_container" 24 app:layout_constraintEnd_toEndOf="parent" 25 app:layout_constraintStart_toStartOf="parent" 26 app:layout_constraintTop_toTopOf="parent"> 27 28 <include layout="@layout/section_header" /> 29 </FrameLayout> 30 31 <FrameLayout 32 android:id="@+id/preview_card_container" 33 android:layout_width="0dp" 34 android:layout_height="0dp" 35 app:layout_constrainedHeight="true" 36 app:layout_constraintBottom_toTopOf="@+id/clock_preview_card_list" 37 app:layout_constraintEnd_toEndOf="parent" 38 app:layout_constraintStart_toStartOf="parent" 39 app:layout_constraintTop_toBottomOf="@+id/section_header_container" 40 android:paddingBottom="@dimen/preview_page_bottom_margin" 41 android:paddingTop="@dimen/preview_page_top_margin" 42 android:clipToPadding="false" /> 43 44 <androidx.recyclerview.widget.RecyclerView 45 android:id="@+id/clock_preview_card_list" 46 android:layout_width="match_parent" 47 android:layout_height="@dimen/options_container_height" 48 app:layout_constraintBottom_toBottomOf="parent" 49 app:layout_constraintEnd_toEndOf="parent" 50 app:layout_constraintStart_toStartOf="parent" 51 app:layout_constraintTop_toBottomOf="@+id/preview_card_container" 52 android:paddingHorizontal="@dimen/grid_options_container_horizontal_margin" 53 android:scrollbars="horizontal" 54 android:clipToPadding="false" /> 55</androidx.constraintlayout.widget.ConstraintLayout>