| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| ~ Copyright (C) 2019 The Android Open Source Project |
| ~ |
| ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| ~ you may not use this file except in compliance with the License. |
| ~ You may obtain a copy of the License at |
| ~ |
| ~ http://www.apache.org/licenses/LICENSE-2.0 |
| ~ |
| ~ Unless required by applicable law or agreed to in writing, software |
| ~ distributed under the License is distributed on an "AS IS" BASIS, |
| ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| ~ See the License for the specific language governing permissions and |
| ~ limitations under the License. |
| --> |
| <LinearLayout |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:app="http://schemas.android.com/apk/res-auto" |
| android:id="@+id/controls_management_root" |
| android:orientation="vertical" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:gravity="center_horizontal" |
| android:paddingTop="@dimen/controls_management_top_padding" |
| android:paddingStart="@dimen/controls_management_side_padding" |
| android:paddingEnd="@dimen/controls_management_side_padding" > |
| |
| |
| <TextView |
| android:id="@+id/title" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:textAppearance="@style/TextAppearance.Control.Management.Title" |
| android:textAlignment="center" /> |
| |
| <TextView |
| android:id="@+id/subtitle" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_marginTop="@dimen/controls_management_titles_margin" |
| android:textAppearance="@style/TextAppearance.Control.Management.Subtitle" |
| android:textAlignment="center" /> |
| |
| <ViewStub |
| android:id="@+id/stub" |
| android:layout_width="match_parent" |
| android:layout_height="0dp" |
| android:layout_weight="1"/> |
| |
| <FrameLayout |
| android:layout_width="match_parent" |
| android:layout_height="@dimen/controls_management_footer_height"> |
| |
| <View |
| android:layout_width="match_parent" |
| android:layout_height="@dimen/controls_app_divider_height" |
| android:layout_gravity="center_horizontal|top" |
| android:background="?android:attr/listDivider" /> |
| |
| <androidx.constraintlayout.widget.ConstraintLayout |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:paddingHorizontal="@dimen/controls_management_footer_side_margin" |
| android:paddingVertical="@dimen/controls_management_footer_top_margin" > |
| |
| <Button |
| android:id="@+id/other_apps" |
| android:visibility="gone" |
| android:layout_width="wrap_content" |
| android:layout_height="match_parent" |
| android:gravity="center_vertical" |
| android:text="@string/controls_favorite_see_other_apps" |
| style="@*android:style/Widget.DeviceDefault.Button.Borderless.Colored" |
| app:layout_constraintTop_toTopOf="parent" |
| app:layout_constraintBottom_toBottomOf="parent" |
| app:layout_constraintStart_toStartOf="parent"/> |
| |
| <Button |
| android:id="@+id/done" |
| android:layout_width="wrap_content" |
| android:layout_height="match_parent" |
| android:text="@string/save" |
| style="@*android:style/Widget.DeviceDefault.Button.Colored" |
| app:layout_constraintTop_toTopOf="parent" |
| app:layout_constraintBottom_toBottomOf="parent" |
| app:layout_constraintEnd_toEndOf="parent"/> |
| </androidx.constraintlayout.widget.ConstraintLayout> |
| </FrameLayout> |
| |
| |
| </LinearLayout> |