blob: d97a3397457a167cf798602709b71f6fadc0f2db [file] [log] [blame]
Santiago Etchebehere4d1f8c32019-01-16 14:43:35 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright (C) 2019 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<LinearLayout
18 xmlns:android="http://schemas.android.com/apk/res/android"
Santiago Etchebehere0ab3bc32019-01-30 13:30:18 -080019 xmlns:app="http://schemas.android.com/apk/res-auto"
Santiago Etchebehere4d1f8c32019-01-16 14:43:35 -080020 android:layout_width="match_parent"
21 android:layout_height="match_parent"
22 android:orientation="vertical"
Santiago Etchebehere631bfe32019-02-06 18:12:01 -080023 android:background="?android:colorPrimary">
Santiago Etchebehere4d1f8c32019-01-16 14:43:35 -080024 <include layout="@layout/section_header"/>
25
26 <com.android.customization.widget.PreviewPager
27 android:id="@+id/clock_preview_pager"
28 android:layout_width="match_parent"
29 android:layout_height="0dp"
30 android:layout_weight="1"
Santiago Etchebehere0ab3bc32019-01-30 13:30:18 -080031 android:background="@color/secondary_color"
32 app:card_style="screen_aspect_ratio"/>
Santiago Etchebehere4d1f8c32019-01-16 14:43:35 -080033
34 <LinearLayout
35 android:id="@+id/options_section"
36 android:layout_width="match_parent"
37 android:layout_height="wrap_content"
38 android:padding="10dp"
39 android:orientation="vertical">
40
41 <androidx.recyclerview.widget.RecyclerView
42 android:id="@+id/options_container"
43 android:layout_width="match_parent"
44 android:layout_height="@dimen/options_container_height"
45 android:layout_gravity="center_horizontal"/>
46
47 <RelativeLayout
48 android:layout_width="match_parent"
49 android:layout_height="wrap_content">
50 <Button
51 android:id="@+id/apply_button"
52 style="@style/ActionPrimaryButton"
53 android:layout_width="wrap_content"
54 android:layout_height="wrap_content"
55 android:layout_alignParentEnd="true"
56 android:text="@string/apply_btn"/>
57 </RelativeLayout>
58
59 </LinearLayout>
60
61</LinearLayout>