AppBarLayout.Behavior
public
static
class
AppBarLayout.Behavior
extends BaseBehavior<AppBarLayout>
java.lang.Object | |||
↳ | androidx.coordinatorlayout.widget.CoordinatorLayout.Behavior<V extends android.view.View> | ||
↳ | com.google.android.material.appbar.AppBarLayout.BaseBehavior<com.google.android.material.appbar.AppBarLayout> | ||
↳ | com.google.android.material.appbar.AppBarLayout.Behavior |
The default AppBarLayout.Behavior
for AppBarLayout
. Implements the necessary nested scroll
handling with offsetting.
Summary
Nested classes | |
---|---|
class |
AppBarLayout.Behavior.DragCallback
Callback to allow control over any |
Public constructors | |
---|---|
Behavior()
|
|
Behavior(Context context, AttributeSet attrs)
|
Inherited methods | |
---|---|
Public constructors
Behavior
public Behavior ()
Behavior
public Behavior (Context context, AttributeSet attrs)
Parameters | |
---|---|
context |
Context |
attrs |
AttributeSet |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2021-02-08 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"last_modified": "Last updated 2021-02-08 UTC.",
"state": ""
}