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 | a3a7c45 | 2020-08-27 14:08:05 -0400 | [diff] [blame] | 53 | android:layout_height="@dimen/controls_management_footer_height"> |
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 | a3a7c45 | 2020-08-27 14:08:05 -0400 | [diff] [blame] | 64 | android:paddingHorizontal="@dimen/controls_management_footer_side_margin" |
| 65 | android:paddingVertical="@dimen/controls_management_footer_top_margin" > |
Fabian Kozynski | 9aa23af | 2020-02-05 17:47:47 -0500 | [diff] [blame] | 66 | |
Fabian Kozynski | 1e3178d | 2020-02-19 09:32:27 -0500 | [diff] [blame] | 67 | <Button |
| 68 | android:id="@+id/other_apps" |
| 69 | android:visibility="gone" |
Fabian Kozynski | 9aa23af | 2020-02-05 17:47:47 -0500 | [diff] [blame] | 70 | android:layout_width="wrap_content" |
| 71 | android:layout_height="match_parent" |
Fabian Kozynski | 1e3178d | 2020-02-19 09:32:27 -0500 | [diff] [blame] | 72 | android:gravity="center_vertical" |
Fabian Kozynski | 91280c3 | 2020-06-24 10:57:23 -0400 | [diff] [blame] | 73 | android:text="@string/controls_favorite_see_other_apps" |
Fabian Kozynski | 1e3178d | 2020-02-19 09:32:27 -0500 | [diff] [blame] | 74 | style="@*android:style/Widget.DeviceDefault.Button.Borderless.Colored" |
Fabian Kozynski | 9aa23af | 2020-02-05 17:47:47 -0500 | [diff] [blame] | 75 | app:layout_constraintTop_toTopOf="parent" |
| 76 | app:layout_constraintBottom_toBottomOf="parent" |
| 77 | app:layout_constraintStart_toStartOf="parent"/> |
| 78 | |
| 79 | <Button |
Anton Potapov | 639a826 | 2023-03-15 17:25:23 +0000 | [diff] [blame] | 80 | android:id="@+id/rearrange" |
| 81 | android:visibility="gone" |
| 82 | android:layout_width="wrap_content" |
| 83 | android:layout_height="match_parent" |
| 84 | android:gravity="center_vertical" |
| 85 | style="@*android:style/Widget.DeviceDefault.Button.Borderless.Colored" |
| 86 | app:layout_constraintTop_toTopOf="parent" |
| 87 | app:layout_constraintBottom_toBottomOf="parent" |
| 88 | app:layout_constraintStart_toStartOf="parent"/> |
| 89 | |
| 90 | <Button |
| 91 | android:id="@+id/addControls" |
| 92 | android:visibility="gone" |
| 93 | android:layout_width="wrap_content" |
| 94 | android:layout_height="match_parent" |
| 95 | android:gravity="center_vertical" |
| 96 | android:text="@string/controls_favorite_add_controls" |
| 97 | style="@*android:style/Widget.DeviceDefault.Button.Borderless.Colored" |
| 98 | app:layout_constraintTop_toTopOf="parent" |
| 99 | app:layout_constraintBottom_toBottomOf="parent" |
| 100 | app:layout_constraintStart_toStartOf="parent"/> |
| 101 | |
| 102 | <Button |
Fabian Kozynski | 9aa23af | 2020-02-05 17:47:47 -0500 | [diff] [blame] | 103 | android:id="@+id/done" |
| 104 | android:layout_width="wrap_content" |
| 105 | android:layout_height="match_parent" |
Matt Pietal | e80c781 | 2020-03-20 14:02:52 -0400 | [diff] [blame] | 106 | android:text="@string/save" |
Fabian Kozynski | 1e3178d | 2020-02-19 09:32:27 -0500 | [diff] [blame] | 107 | style="@*android:style/Widget.DeviceDefault.Button.Colored" |
Fabian Kozynski | 9aa23af | 2020-02-05 17:47:47 -0500 | [diff] [blame] | 108 | app:layout_constraintTop_toTopOf="parent" |
| 109 | app:layout_constraintBottom_toBottomOf="parent" |
| 110 | app:layout_constraintEnd_toEndOf="parent"/> |
| 111 | </androidx.constraintlayout.widget.ConstraintLayout> |
| 112 | </FrameLayout> |
| 113 | |
| 114 | |
Matt Pietal | e80c781 | 2020-03-20 14:02:52 -0400 | [diff] [blame] | 115 | </LinearLayout> |