blob: 0fd4044202a54b5ebfc8732dccd47fc29ac41f82 [file] [log] [blame]
Santiago Etchebehere10e79f12018-12-19 15:53:42 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright (C) 2018 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"
19 android:layout_width="match_parent"
20 android:layout_height="match_parent"
21 android:orientation="vertical"
22 android:background="@color/category_picker_background_color">
23 <include layout="@layout/section_header"/>
24
Santiago Etchebehere988f99d2018-12-20 17:13:12 -080025 <com.android.customization.widget.PreviewPager
26 android:id="@+id/theme_preview_pager"
27 android:layout_width="match_parent"
28 android:layout_height="0dp"
29 android:layout_weight="1"
30 android:background="@color/secondary_color"/>
Santiago Etchebehere10e79f12018-12-19 15:53:42 -080031
32 <LinearLayout
33 android:id="@+id/options_section"
34 android:layout_width="match_parent"
35 android:layout_height="wrap_content"
Santiago Etchebehere273f6552019-01-04 17:33:45 -080036 android:padding="10dp"
Santiago Etchebehere10e79f12018-12-19 15:53:42 -080037 android:orientation="vertical">
38
39 <androidx.recyclerview.widget.RecyclerView
40 android:id="@+id/options_container"
41 android:layout_width="match_parent"
Santiago Etchebehere273f6552019-01-04 17:33:45 -080042 android:layout_height="@dimen/options_container_height"
43 android:layout_gravity="center_horizontal"/>
Santiago Etchebehere10e79f12018-12-19 15:53:42 -080044
45 <RelativeLayout
46 android:layout_width="match_parent"
47 android:layout_height="wrap_content">
48 <Button
49 style="@style/ActionPrimaryButton"
50 android:layout_width="wrap_content"
51 android:layout_height="wrap_content"
52 android:layout_alignParentEnd="true"
53 android:text="@string/apply_theme_btn"/>
54 </RelativeLayout>
55
56 </LinearLayout>
57
58</LinearLayout>