<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright © 2017-2019 Soren Stoutner <soren@stoutner.com>.
+ Copyright © 2017-2020 Soren Stoutner <soren@stoutner.com>.
This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
android:focusable="true"
android:focusableInTouchMode="true" >
- <!-- The `LinearLayout` with `orientation="vertical"` moves the content below the app bar layout. -->
+ <!-- The linear layout with `orientation="vertical"` moves the content below the app bar layout. -->
<LinearLayout
android:layout_height="match_parent"
android:layout_width="match_parent"
android:orientation="vertical" >
- <!-- The `AppBarLayout` theme has to be defined here because the activity uses a `NoActionBar` theme. -->
+ <!-- The app bar layout theme may not need to be specified here. But more testing on all APIs needs to be done before it can be removed. -->
<com.google.android.material.appbar.AppBarLayout
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:theme="@style/PrivacyBrowserAppBarLight" >
- <!-- The `FrameLayout` allows the toolbar and the progress bar to occupy the same space. -->
+ <!-- The frame layout allows the toolbar and the progress bar to occupy the same space. -->
<FrameLayout
android:layout_height="wrap_content"
android:layout_width="match_parent" >
android:layout_width="match_parent"
android:minHeight="3dp"
android:layout_gravity="bottom"
- android:progressTint="?attr/progressTintColor"
- android:progressBackgroundTint="@color/transparent"
android:visibility="gone"
tools:ignore="UnusedAttribute" />
</FrameLayout>