along with Privacy Browser. If not, see <http://www.gnu.org/licenses/>. -->
<!-- android:fitsSystemWindows="true" moves the AppBar below the status bar.
along with Privacy Browser. If not, see <http://www.gnu.org/licenses/>. -->
<!-- android:fitsSystemWindows="true" moves the AppBar below the status bar.
- When it is specified the theme should include <item name="android:windowTranslucentStatus">true</item>
- to make the status bar a transparent, darkened overlay. -->
-<android.support.design.widget.CoordinatorLayout
+ When it is specified the theme should include <item name="android:windowTranslucentStatus">true</item> to make the status bar a transparent, darkened overlay. -->
+<androidx.coordinatorlayout.widget.CoordinatorLayout
<LinearLayout
android:layout_height="match_parent"
android:layout_width="match_parent"
android:orientation="vertical" >
<LinearLayout
android:layout_height="match_parent"
android:layout_width="match_parent"
android:orientation="vertical" >
- <!-- We need to set `android:background="?attr/colorPrimaryDark"` here or any space to the right of the `TabLayout` on large devices will be the theme background color. -->
- <android.support.design.widget.AppBarLayout
+ <!-- `android:background="?attr/colorPrimaryDark"` must be set here or any space to the right of the tab layout on large devices will be the theme background color. -->
+ <com.google.android.material.appbar.AppBarLayout
android:id="@+id/about_appbarlayout"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:background="?attr/colorPrimaryDark" >
<!-- `android:theme="?attr/appBarTextTheme"` sets the color of the text and icons in the `AppBar`. -->
android:id="@+id/about_appbarlayout"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:background="?attr/colorPrimaryDark" >
<!-- `android:theme="?attr/appBarTextTheme"` sets the color of the text and icons in the `AppBar`. -->
android:id="@+id/about_toolbar"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:id="@+id/about_toolbar"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:theme="?attr/appBarTextTheme" />
<!-- For some reason `tabIndicatorColor` does not pull from the style unless specified explicitly here. -->
android:theme="?attr/appBarTextTheme" />
<!-- For some reason `tabIndicatorColor` does not pull from the style unless specified explicitly here. -->
android:id="@+id/about_viewpager"
android:layout_height="0dp"
android:layout_width="match_parent"
android:layout_weight="1" />
</LinearLayout>
android:id="@+id/about_viewpager"
android:layout_height="0dp"
android:layout_width="match_parent"
android:layout_weight="1" />
</LinearLayout>