android-components / mozilla.components.browser.toolbar.behavior / BrowserToolbarBottomBehavior

BrowserToolbarBottomBehavior

class BrowserToolbarBottomBehavior : Behavior<BrowserToolbar> (source)

A CoordinatorLayout.Behavior implementation to be used when placing BrowserToolbar at the bottom of the screen.

This implementation will:

Constructors

Name Summary
<init> BrowserToolbarBottomBehavior(context: <ERROR CLASS>?, attrs: <ERROR CLASS>?)
A CoordinatorLayout.Behavior implementation to be used when placing BrowserToolbar at the bottom of the screen.

Properties

Name Summary
context val context: <ERROR CLASS>?

Functions

Name Summary
forceExpand fun forceExpand(view: <ERROR CLASS>): Unit
Used to expand the BrowserToolbar upwards
layoutDependsOn fun layoutDependsOn(parent: CoordinatorLayout, child: BrowserToolbar, dependency: <ERROR CLASS>): Boolean
onInterceptTouchEvent fun onInterceptTouchEvent(parent: CoordinatorLayout, child: BrowserToolbar, ev: <ERROR CLASS>): Boolean
onStartNestedScroll fun onStartNestedScroll(coordinatorLayout: CoordinatorLayout, child: BrowserToolbar, directTargetChild: <ERROR CLASS>, target: <ERROR CLASS>, axes: Int, type: Int): Boolean
onStopNestedScroll fun onStopNestedScroll(coordinatorLayout: CoordinatorLayout, child: BrowserToolbar, target: <ERROR CLASS>, type: Int): Unit

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.