Santiago Etchebehere | 10e79f1 | 2018-12-19 15:53:42 -0800 | [diff] [blame] | 1 | <?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" |
Santiago Etchebehere | eb18698 | 2019-01-31 14:49:06 -0800 | [diff] [blame] | 22 | android:background="?android:colorPrimary"> |
Santiago Etchebehere | 10e79f1 | 2018-12-19 15:53:42 -0800 | [diff] [blame] | 23 | <include layout="@layout/section_header"/> |
| 24 | |
Santiago Etchebehere | 988f99d | 2018-12-20 17:13:12 -0800 | [diff] [blame] | 25 | <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 Etchebehere | 10e79f1 | 2018-12-19 15:53:42 -0800 | [diff] [blame] | 31 | |
| 32 | <LinearLayout |
| 33 | android:id="@+id/options_section" |
| 34 | android:layout_width="match_parent" |
| 35 | android:layout_height="wrap_content" |
Amin Shaikh | 06972d8 | 2019-04-19 16:29:01 -0400 | [diff] [blame^] | 36 | android:paddingVertical="10dp" |
Santiago Etchebehere | 10e79f1 | 2018-12-19 15:53:42 -0800 | [diff] [blame] | 37 | android:orientation="vertical"> |
| 38 | |
| 39 | <androidx.recyclerview.widget.RecyclerView |
| 40 | android:id="@+id/options_container" |
| 41 | android:layout_width="match_parent" |
Santiago Etchebehere | 273f655 | 2019-01-04 17:33:45 -0800 | [diff] [blame] | 42 | android:layout_height="@dimen/options_container_height" |
| 43 | android:layout_gravity="center_horizontal"/> |
Santiago Etchebehere | 10e79f1 | 2018-12-19 15:53:42 -0800 | [diff] [blame] | 44 | |
| 45 | <RelativeLayout |
| 46 | android:layout_width="match_parent" |
Amin Shaikh | 06972d8 | 2019-04-19 16:29:01 -0400 | [diff] [blame^] | 47 | android:layout_height="wrap_content" |
| 48 | android:paddingHorizontal="10dp"> |
Santiago Etchebehere | 1dbb772 | 2019-01-22 15:20:12 -0800 | [diff] [blame] | 49 | <CheckBox |
| 50 | android:id="@+id/use_my_wallpaper" |
| 51 | android:layout_width="wrap_content" |
| 52 | android:layout_height="wrap_content" |
| 53 | android:layout_alignParentStart="true" |
| 54 | android:layout_centerVertical="true" |
Amin Shaikh | 535db3e | 2019-04-19 09:51:41 -0400 | [diff] [blame] | 55 | android:paddingLeft="4dp" |
Santiago Etchebehere | 10b63ae | 2019-04-17 12:25:38 -0300 | [diff] [blame] | 56 | android:minHeight="@dimen/min_taptarget_height" |
Santiago Etchebehere | 1dbb772 | 2019-01-22 15:20:12 -0800 | [diff] [blame] | 57 | android:text="@string/keep_my_wallpaper"/> |
Santiago Etchebehere | 10e79f1 | 2018-12-19 15:53:42 -0800 | [diff] [blame] | 58 | <Button |
Santiago Etchebehere | f2a752d | 2019-01-14 14:29:27 -0800 | [diff] [blame] | 59 | android:id="@+id/apply_button" |
Santiago Etchebehere | 10e79f1 | 2018-12-19 15:53:42 -0800 | [diff] [blame] | 60 | style="@style/ActionPrimaryButton" |
| 61 | android:layout_width="wrap_content" |
| 62 | android:layout_height="wrap_content" |
| 63 | android:layout_alignParentEnd="true" |
| 64 | android:text="@string/apply_theme_btn"/> |
| 65 | </RelativeLayout> |
| 66 | |
| 67 | </LinearLayout> |
| 68 | |
| 69 | </LinearLayout> |