android.support.design.widget.CoordinatorLayout.DefaultBehavior |
Defines the default CoordinatorLayout.Behavior
of a View
class.
When writing a custom view, use this annotation to define the default behavior
when used as a direct child of an CoordinatorLayout
. The default behavior
can be overridden using setBehavior(CoordinatorLayout.Behavior)
.
Example: @DefaultBehavior(MyBehavior.class)
[Expand]
Inherited Methods | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
java.lang.annotation.Annotation
|
Except as noted, this content is licensed under Apache 2.0. For details and restrictions, see the Content License.
Android 6.0 r1 —
* Required Fields
You have successfully signed up for the latest Android developer news and tips.