summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorGeorge Lin <giolin@google.com>2022-09-08 19:06:41 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-09-08 19:06:41 +0000
commitece084a84db65298c9c6ee4ccfdc3cf006ddf526 (patch)
tree596b75cdd7340727ed3ddd3bcf481496258d26c8 /res
parent804392db970965357e97330aad08e1cd6e351f8d (diff)
parent320e224b2bed38fed3be4050df6f9e8a06190c15 (diff)
downloadThemePicker-ece084a84db65298c9c6ee4ccfdc3cf006ddf526.tar.gz
Add clock custom fragment am: 92b3661ab7 am: 320e224b2b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/ThemePicker/+/19572056 Change-Id: Ieaeededacf1f265f7cc30cd8899c681915bd3df1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'res')
-rw-r--r--res/layout/fragment_clock_custom_picker.xml55
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