Skip to content

Most visited

Recently visited

navigation

CoordinatorLayout.DefaultBehavior

public static abstract @interface CoordinatorLayout.DefaultBehavior
implements Annotation

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)

Summary

Public methods

Class<? extends Behavior> value()

Inherited methods

From interface java.lang.annotation.Annotation

Public methods

value

Class<? extends Behavior> value ()

Returns
Class<? extends Behavior>
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.