diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/fragment_clock_custom_picker.xml | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/res/layout/fragment_clock_custom_picker.xml b/res/layout/fragment_clock_custom_picker.xml new file mode 100644 index 00000000..f1bd12b3 --- /dev/null +++ b/res/layout/fragment_clock_custom_picker.xml @@ -0,0 +1,55 @@ +<?xml version="1.0" encoding="utf-8"?><!-- + Copyright (C) 2022 The Android Open Source Project + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:paddingBottom="108dp"> + + <FrameLayout + android:id="@+id/section_header_container" + android:layout_width="match_parent" + android:layout_height="wrap_content" + app:layout_constraintBottom_toTopOf="@+id/preview_card_container" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> + + <include layout="@layout/section_header" /> + </FrameLayout> + + <FrameLayout + android:id="@+id/preview_card_container" + android:layout_width="0dp" + android:layout_height="0dp" + app:layout_constrainedHeight="true" + app:layout_constraintBottom_toTopOf="@+id/clock_preview_card_list" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/section_header_container" + android:paddingBottom="@dimen/preview_page_bottom_margin" + android:paddingTop="@dimen/preview_page_top_margin" + android:clipToPadding="false" /> + + <androidx.recyclerview.widget.RecyclerView + android:id="@+id/clock_preview_card_list" + android:layout_width="match_parent" + android:layout_height="@dimen/options_container_height" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/preview_card_container" + android:paddingHorizontal="@dimen/grid_options_container_horizontal_margin" + android:scrollbars="horizontal" + android:clipToPadding="false" /> +</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file |