Santiago Etchebehere | b356ed0 | 2019-02-08 09:46:32 -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 | --> |
Santiago Etchebehere | b5fed02 | 2019-02-21 16:59:23 -0800 | [diff] [blame] | 17 | <LinearLayout |
Santiago Etchebehere | b356ed0 | 2019-02-08 09:46:32 -0800 | [diff] [blame] | 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | xmlns:app="http://schemas.android.com/apk/res-auto" |
| 20 | xmlns:tools="http://schemas.android.com/tools" |
| 21 | android:layout_width="match_parent" |
| 22 | android:layout_height="match_parent" |
| 23 | android:orientation="vertical" |
| 24 | tools:context="com.android.customization.picker.theme.CustomThemeActivity"> |
| 25 | |
| 26 | <FrameLayout |
| 27 | android:id="@+id/fragment_container" |
| 28 | android:layout_width="match_parent" |
Santiago Etchebehere | b5fed02 | 2019-02-21 16:59:23 -0800 | [diff] [blame] | 29 | android:layout_height="0dp" |
| 30 | android:layout_weight="1"/> |
Santiago Etchebehere | b356ed0 | 2019-02-08 09:46:32 -0800 | [diff] [blame] | 31 | |
| 32 | <FrameLayout |
| 33 | android:id="@+id/custom_theme_nav" |
| 34 | android:layout_width="match_parent" |
Santiago Etchebehere | b5fed02 | 2019-02-21 16:59:23 -0800 | [diff] [blame] | 35 | android:layout_height="@dimen/custom_theme_nav_height" |
Chuck Liao | 2848da6 | 2020-05-12 17:59:33 +0800 | [diff] [blame^] | 36 | android:paddingHorizontal="12dp" |
| 37 | android:background="?android:colorPrimary"> |
Santiago Etchebehere | b356ed0 | 2019-02-08 09:46:32 -0800 | [diff] [blame] | 38 | <Button |
Amin Shaikh | 535db3e | 2019-04-19 09:51:41 -0400 | [diff] [blame] | 39 | android:id="@+id/previous_button" |
| 40 | style="@style/ActionSecondaryButton" |
| 41 | android:layout_width="wrap_content" |
| 42 | android:layout_height="wrap_content" |
| 43 | android:layout_gravity="start|center_vertical" |
| 44 | android:text="@string/custom_theme_previous"/> |
| 45 | <Button |
Santiago Etchebehere | b356ed0 | 2019-02-08 09:46:32 -0800 | [diff] [blame] | 46 | android:id="@+id/next_button" |
| 47 | style="@style/ActionPrimaryButton" |
| 48 | android:layout_width="wrap_content" |
| 49 | android:layout_height="wrap_content" |
| 50 | android:layout_gravity="end|center_vertical" |
| 51 | android:text="@string/custom_theme_next"/> |
| 52 | </FrameLayout> |
Santiago Etchebehere | b5fed02 | 2019-02-21 16:59:23 -0800 | [diff] [blame] | 53 | </LinearLayout> |