blob: ae7f44d1943082ef953ebde2264bc5f3a097d80e [file] [log] [blame]
Fabian Kozynski9aa23af2020-02-05 17:47:47 -05001<?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 Pietalf4b870b2020-04-17 17:11:36 -040020 android:id="@+id/controls_management_root"
Fabian Kozynski9aa23af2020-02-05 17:47:47 -050021 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 Kozynski6f3caf42020-04-22 10:36:38 -040029
30 <TextView
31 android:id="@+id/title"
Fabian Kozynski9aa23af2020-02-05 17:47:47 -050032 android:layout_width="wrap_content"
33 android:layout_height="wrap_content"
Fabian Kozynski6936cd12020-04-30 12:14:03 -040034 android:textAppearance="@style/TextAppearance.Control.Management.Title"
Fabian Kozynski6f3caf42020-04-22 10:36:38 -040035 android:textAlignment="center" />
Fabian Kozynski713b7272020-03-03 18:35:52 -050036
Fabian Kozynski9aa23af2020-02-05 17:47:47 -050037 <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 Kozynski6936cd12020-04-30 12:14:03 -040042 android:textAppearance="@style/TextAppearance.Control.Management.Subtitle"
Fabian Kozynski9aa23af2020-02-05 17:47:47 -050043 android:textAlignment="center" />
44
Fabian Kozynski713b7272020-03-03 18:35:52 -050045 <ViewStub
46 android:id="@+id/stub"
Fabian Kozynski9aa23af2020-02-05 17:47:47 -050047 android:layout_width="match_parent"
48 android:layout_height="0dp"
Fabian Kozynski713b7272020-03-03 18:35:52 -050049 android:layout_weight="1"/>
Fabian Kozynski9aa23af2020-02-05 17:47:47 -050050
51 <FrameLayout
52 android:layout_width="match_parent"
Fabian Kozynski6936cd12020-04-30 12:14:03 -040053 android:layout_height="72dp">
Fabian Kozynski9aa23af2020-02-05 17:47:47 -050054
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 Kozynski6936cd12020-04-30 12:14:03 -040064 android:padding="@dimen/controls_management_footer_side_margin">
Fabian Kozynski9aa23af2020-02-05 17:47:47 -050065
Fabian Kozynski1e3178d2020-02-19 09:32:27 -050066 <Button
67 android:id="@+id/other_apps"
68 android:visibility="gone"
Fabian Kozynski9aa23af2020-02-05 17:47:47 -050069 android:layout_width="wrap_content"
70 android:layout_height="match_parent"
Fabian Kozynski1e3178d2020-02-19 09:32:27 -050071 android:gravity="center_vertical"
Fabian Kozynski91280c32020-06-24 10:57:23 -040072 android:text="@string/controls_favorite_see_other_apps"
Fabian Kozynski1e3178d2020-02-19 09:32:27 -050073 style="@*android:style/Widget.DeviceDefault.Button.Borderless.Colored"
Fabian Kozynski9aa23af2020-02-05 17:47:47 -050074 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 Pietale80c7812020-03-20 14:02:52 -040082 android:text="@string/save"
Fabian Kozynski1e3178d2020-02-19 09:32:27 -050083 style="@*android:style/Widget.DeviceDefault.Button.Colored"
Fabian Kozynski9aa23af2020-02-05 17:47:47 -050084 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 Pietale80c7812020-03-20 14:02:52 -040091</LinearLayout>