Fabian Kozynski | 9aa23af | 2020-02-05 17:47:47 -0500 | [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" |
| 19 | xmlns:app="http://schemas.android.com/apk/res-auto" |
Matt Pietal | f4b870b | 2020-04-17 17:11:36 -0400 | [diff] [blame] | 20 | android:id="@+id/controls_management_root" |
Fabian Kozynski | 9aa23af | 2020-02-05 17:47:47 -0500 | [diff] [blame] | 21 | android:orientation="vertical" |
| 22 | android:layout_width="match_parent" |
| 23 | android:layout_height="match_parent" |
| 24 | android:gravity="center_horizontal" |
| 25 | android:paddingTop="@dimen/controls_management_top_padding" |
| 26 | android:paddingStart="@dimen/controls_management_side_padding" |
| 27 | android:paddingEnd="@dimen/controls_management_side_padding" > |
| 28 | |
Fabian Kozynski | 6f3caf4 | 2020-04-22 10:36:38 -0400 | [diff] [blame] | 29 | |
| 30 | <TextView |
| 31 | android:id="@+id/title" |
Fabian Kozynski | 9aa23af | 2020-02-05 17:47:47 -0500 | [diff] [blame] | 32 | android:layout_width="wrap_content" |
| 33 | android:layout_height="wrap_content" |
Fabian Kozynski | 6936cd1 | 2020-04-30 12:14:03 -0400 | [diff] [blame] | 34 | android:textAppearance="@style/TextAppearance.Control.Management.Title" |
Fabian Kozynski | 6f3caf4 | 2020-04-22 10:36:38 -0400 | [diff] [blame] | 35 | android:textAlignment="center" /> |
Fabian Kozynski | 713b727 | 2020-03-03 18:35:52 -0500 | [diff] [blame] | 36 | |
Fabian Kozynski | 9aa23af | 2020-02-05 17:47:47 -0500 | [diff] [blame] | 37 | <TextView |
| 38 | android:id="@+id/subtitle" |
| 39 | android:layout_width="wrap_content" |
| 40 | android:layout_height="wrap_content" |
| 41 | android:layout_marginTop="@dimen/controls_management_titles_margin" |
Fabian Kozynski | 6936cd1 | 2020-04-30 12:14:03 -0400 | [diff] [blame] | 42 | android:textAppearance="@style/TextAppearance.Control.Management.Subtitle" |
Fabian Kozynski | 9aa23af | 2020-02-05 17:47:47 -0500 | [diff] [blame] | 43 | android:textAlignment="center" /> |
| 44 | |
Fabian Kozynski | 713b727 | 2020-03-03 18:35:52 -0500 | [diff] [blame] | 45 | <ViewStub |
| 46 | android:id="@+id/stub" |
Fabian Kozynski | 9aa23af | 2020-02-05 17:47:47 -0500 | [diff] [blame] | 47 | android:layout_width="match_parent" |
| 48 | android:layout_height="0dp" |
Fabian Kozynski | 713b727 | 2020-03-03 18:35:52 -0500 | [diff] [blame] | 49 | android:layout_weight="1"/> |
Fabian Kozynski | 9aa23af | 2020-02-05 17:47:47 -0500 | [diff] [blame] | 50 | |
| 51 | <FrameLayout |
| 52 | android:layout_width="match_parent" |
Fabian Kozynski | 6936cd1 | 2020-04-30 12:14:03 -0400 | [diff] [blame] | 53 | android:layout_height="72dp"> |
Fabian Kozynski | 9aa23af | 2020-02-05 17:47:47 -0500 | [diff] [blame] | 54 | |
| 55 | <View |
| 56 | android:layout_width="match_parent" |
| 57 | android:layout_height="@dimen/controls_app_divider_height" |
| 58 | android:layout_gravity="center_horizontal|top" |
| 59 | android:background="?android:attr/listDivider" /> |
| 60 | |
| 61 | <androidx.constraintlayout.widget.ConstraintLayout |
| 62 | android:layout_width="match_parent" |
| 63 | android:layout_height="match_parent" |
Fabian Kozynski | 6936cd1 | 2020-04-30 12:14:03 -0400 | [diff] [blame] | 64 | android:padding="@dimen/controls_management_footer_side_margin"> |
Fabian Kozynski | 9aa23af | 2020-02-05 17:47:47 -0500 | [diff] [blame] | 65 | |
Fabian Kozynski | 1e3178d | 2020-02-19 09:32:27 -0500 | [diff] [blame] | 66 | <Button |
| 67 | android:id="@+id/other_apps" |
| 68 | android:visibility="gone" |
Fabian Kozynski | 9aa23af | 2020-02-05 17:47:47 -0500 | [diff] [blame] | 69 | android:layout_width="wrap_content" |
| 70 | android:layout_height="match_parent" |
Fabian Kozynski | 1e3178d | 2020-02-19 09:32:27 -0500 | [diff] [blame] | 71 | android:gravity="center_vertical" |
Fabian Kozynski | 91280c3 | 2020-06-24 10:57:23 -0400 | [diff] [blame] | 72 | android:text="@string/controls_favorite_see_other_apps" |
Fabian Kozynski | 1e3178d | 2020-02-19 09:32:27 -0500 | [diff] [blame] | 73 | style="@*android:style/Widget.DeviceDefault.Button.Borderless.Colored" |
Fabian Kozynski | 9aa23af | 2020-02-05 17:47:47 -0500 | [diff] [blame] | 74 | app:layout_constraintTop_toTopOf="parent" |
| 75 | app:layout_constraintBottom_toBottomOf="parent" |
| 76 | app:layout_constraintStart_toStartOf="parent"/> |
| 77 | |
| 78 | <Button |
| 79 | android:id="@+id/done" |
| 80 | android:layout_width="wrap_content" |
| 81 | android:layout_height="match_parent" |
Matt Pietal | e80c781 | 2020-03-20 14:02:52 -0400 | [diff] [blame] | 82 | android:text="@string/save" |
Fabian Kozynski | 1e3178d | 2020-02-19 09:32:27 -0500 | [diff] [blame] | 83 | style="@*android:style/Widget.DeviceDefault.Button.Colored" |
Fabian Kozynski | 9aa23af | 2020-02-05 17:47:47 -0500 | [diff] [blame] | 84 | app:layout_constraintTop_toTopOf="parent" |
| 85 | app:layout_constraintBottom_toBottomOf="parent" |
| 86 | app:layout_constraintEnd_toEndOf="parent"/> |
| 87 | </androidx.constraintlayout.widget.ConstraintLayout> |
| 88 | </FrameLayout> |
| 89 | |
| 90 | |
Matt Pietal | e80c781 | 2020-03-20 14:02:52 -0400 | [diff] [blame] | 91 | </LinearLayout> |