<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/root_layout"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:ignore="MergeRootFrame">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        xmlns:app="http://schemas.android.com/apk/res-auto"
        android:orientation="vertical"
        android:clipChildren="false"
        android:clipToPadding="false">
        <com.google.android.material.appbar.AppBarLayout
            android:id="@+id/app_bar_layout"
            android:layout_width="match_parent"
            android:layout_height="wrap_content">

            <com.google.android.material.appbar.MaterialToolbar
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:minHeight="?attr/actionBarSize"
                app:title="@string/app_name"
                app:titleTextColor="@color/white" />

        </com.google.android.material.appbar.AppBarLayout>

        <androidx.fragment.app.FragmentContainerView
            android:id="@+id/main_container"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:name="moe.echo.variablefonttest.MainFragment"
            tools:layout="@layout/main_fragment" />
    </LinearLayout>

    <!-- https://blog.csdn.net/QQxiaoqiang1573/article/details/79888186 -->
    <!-- https://cs.android.com/android/_/android/platform/frameworks/base/+/refs/tags/android-5.1.1_r38:packages/SystemUI/res/values/colors.xml;l=24;drc=bb4a702e6fe44cb026097db13492f8345b38ee97 -->
    <View
        android:id="@+id/top_insets_background"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_gravity="top"
        android:background="#66000000" />

    <!-- https://cs.android.com/android/platform/superproject/+/android-5.1.1_r38:frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarTransitions.java;l=31;drc=c3056190ae1a6d29ce5943d45ab4711e1e49620c -->
    <View
        android:id="@+id/bottom_insets_background"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_gravity="bottom"
        android:background="#66000000" />

    <View
        android:id="@+id/left_insets_background"
        android:layout_width="0dp"
        android:layout_height="match_parent"
        android:layout_gravity="left"
        android:background="#66000000"
        tools:ignore="RtlHardcoded" />

    <View
        android:id="@+id/right_insets_background"
        android:layout_width="0dp"
        android:layout_height="match_parent"
        android:layout_gravity="right"
        android:background="#66000000"
        tools:ignore="RtlHardcoded" />

</FrameLayout>
