| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright 2021 The Chromium Authors |
| Use of this source code is governed by a BSD-style license that can be |
| found in the LICENSE file. |
| --> |
| |
| <androidx.coordinatorlayout.widget.CoordinatorLayout |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:app="http://schemas.android.com/apk/res-auto" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:background="@macro/default_bg_color"> |
| |
| <com.google.android.material.appbar.AppBarLayout |
| android:id="@+id/app_bar_layout" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:fitsSystemWindows="true" |
| android:theme="@style/ThemeOverlay.Settings.DisableElevationOverlay" |
| app:liftOnScroll="true"> |
| |
| <FrameLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content"> |
| <com.google.android.material.appbar.MaterialToolbar |
| android:id="@+id/action_bar" |
| android:layout_width="match_parent" |
| android:layout_height="?attr/actionBarSize"/> |
| |
| <!-- detailed pane title placeholder. |
| Visible only in two pane UI --> |
| <LinearLayout |
| android:id="@+id/settings_detailed_pane_title" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="horizontal" |
| android:layout_gravity="center_vertical" |
| android:gravity="center_vertical" |
| android:visibility="gone" /> |
| </FrameLayout> |
| |
| </com.google.android.material.appbar.AppBarLayout> |
| |
| <androidx.fragment.app.FragmentContainerView |
| android:id="@+id/content" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| app:layout_behavior="@string/appbar_scrolling_view_behavior"> |
| </androidx.fragment.app.FragmentContainerView> |
| |
| <!-- Container for displaying dialogs. --> |
| <FrameLayout |
| android:id="@+id/dialog_container" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:visibility="gone" /> |
| |
| <!-- Container for displaying a bottom sheet. --> |
| <include layout="@layout/bottom_sheet_container"/> |
| |
| <!-- Container for displaying a HaTS survey. --> |
| <ViewStub |
| android:id="@+id/hats_survey_container_stub" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:inflatedId="@+id/survey_container" |
| android:layout="@layout/hats_survey_container" /> |
| </androidx.coordinatorlayout.widget.CoordinatorLayout> |