blob: b9e711e54b3b04b8f78fad6150afdc1813e0e9c3 [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 Kozynski37097192020-08-27 14:08:05 -040053 android:layout_height="@dimen/controls_management_footer_height">
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 Kozynski37097192020-08-27 14:08:05 -040064 android:paddingHorizontal="@dimen/controls_management_footer_side_margin"
65 android:paddingVertical="@dimen/controls_management_footer_top_margin" >
Fabian Kozynski9aa23af2020-02-05 17:47:47 -050066
Fabian Kozynski1e3178d2020-02-19 09:32:27 -050067 <Button
68 android:id="@+id/other_apps"
69 android:visibility="gone"
Fabian Kozynski9aa23af2020-02-05 17:47:47 -050070 android:layout_width="wrap_content"
71 android:layout_height="match_parent"
Fabian Kozynski1e3178d2020-02-19 09:32:27 -050072 android:gravity="center_vertical"
Fabian Kozynski91280c32020-06-24 10:57:23 -040073 android:text="@string/controls_favorite_see_other_apps"
Fabian Kozynski1e3178d2020-02-19 09:32:27 -050074 style="@*android:style/Widget.DeviceDefault.Button.Borderless.Colored"
Fabian Kozynski9aa23af2020-02-05 17:47:47 -050075 app:layout_constraintTop_toTopOf="parent"
76 app:layout_constraintBottom_toBottomOf="parent"
77 app:layout_constraintStart_toStartOf="parent"/>
78
79 <Button
80 android:id="@+id/done"
81 android:layout_width="wrap_content"
82 android:layout_height="match_parent"
Matt Pietale80c7812020-03-20 14:02:52 -040083 android:text="@string/save"
Fabian Kozynski1e3178d2020-02-19 09:32:27 -050084 style="@*android:style/Widget.DeviceDefault.Button.Colored"
Fabian Kozynski9aa23af2020-02-05 17:47:47 -050085 app:layout_constraintTop_toTopOf="parent"
86 app:layout_constraintBottom_toBottomOf="parent"
87 app:layout_constraintEnd_toEndOf="parent"/>
88 </androidx.constraintlayout.widget.ConstraintLayout>
89 </FrameLayout>
90
91
Matt Pietale80c7812020-03-20 14:02:52 -040092</LinearLayout>