Santiago Etchebehere | 4d1f8c3 | 2019-01-16 14:43:35 -0800 | [diff] [blame] | 1 | <?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 Etchebehere | 0ab3bc3 | 2019-01-30 13:30:18 -0800 | [diff] [blame] | 19 | xmlns:app="http://schemas.android.com/apk/res-auto" |
Santiago Etchebehere | 4d1f8c3 | 2019-01-16 14:43:35 -0800 | [diff] [blame] | 20 | android:layout_width="match_parent" |
| 21 | android:layout_height="match_parent" |
| 22 | android:orientation="vertical" |
Santiago Etchebehere | 631bfe3 | 2019-02-06 18:12:01 -0800 | [diff] [blame] | 23 | android:background="?android:colorPrimary"> |
Santiago Etchebehere | 4d1f8c3 | 2019-01-16 14:43:35 -0800 | [diff] [blame] | 24 | <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 Etchebehere | 0ab3bc3 | 2019-01-30 13:30:18 -0800 | [diff] [blame] | 31 | android:background="@color/secondary_color" |
| 32 | app:card_style="screen_aspect_ratio"/> |
Santiago Etchebehere | 4d1f8c3 | 2019-01-16 14:43:35 -0800 | [diff] [blame] | 33 | |
| 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> |