AppBarLayout

Declaration

class enamlnative.widgets.app_bar_layout.AppBarLayout(parent=None, **kwargs)[source]

Bases: enamlnative.widgets.linear_layout.LinearLayout

AppBarLayout is a vertical LinearLayout which implements many of the features of material designs app bar concept, namely scrolling gestures.

proxy

A reference to the ProxyAppBarLayout object.

expanded

Sets whether this AppBarLayout is expanded or not, animating if it has already been laid out.

vertical_offset

The vertical offset for the parent AppBarLayout, in px

Android Implementation

class enamlnative.android.android_app_bar_layout.AndroidAppBarLayout[source]

Bases: enamlnative.android.android_linear_layout.AndroidLinearLayout, enamlnative.widgets.app_bar_layout.ProxyAppBarLayout

An Android implementation of an Enaml ProxyAppBarLayout.

widget

A reference to the widget created by the proxy.

create_widget()[source]

Create the underlying widget.

init_widget()[source]

Initialize the underlying widget.

This reads all items declared in the enamldef block for this node and sets only the values that have been specified. All other values will be left as default. Doing it this way makes atom to only create the properties that need to be overridden from defaults thus greatly reducing the number of initialization checks, saving time and memory.

If you don’t want this to happen override get_declared_keys to return an empty list.

No iOS implementation found.