Also makes the toolbar unclickable so it can't be switching into edit mode, and removes all other actions. Moved the custom tab back button bitmap checking to the feature from the CustomTabConfig since we needed to know the DisplayMetrics for the current screen to properly compare it to the max dp value.
Android Components > Browser > Toolbar
A customizable toolbar for browsers.
Usage
Setting up the dependency
Use Gradle to download the library from maven.mozilla.org (Setup repository):
implementation "org.mozilla.components:browser-toolbar:{latest-version}"
License
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/