ActivityIndicator

Screenshot

Activityindicator - Reference - Enaml-native - CodeLV

Example

from enamlnative.widgets.api import *


enamldef ContentView(Flexbox):
    align_items = "center"
    justify_content = "space_around"
    ActivityIndicator:
        size = "small"

    ActivityIndicator:
        pass

    ActivityIndicator:
        size = "large"

Declaration

class enamlnative.widgets.activity_indicator.ActivityIndicator(parent=None, **kwargs)[source]

Bases: enamlnative.widgets.view.View

A simple control for displaying an ActivityIndicator.

size

Style for indeterminate

color

Sets the color of the indicator.

proxy

A reference to the ProxyActivityIndicator object.

Android Implementation

class enamlnative.android.android_activity_indicator.AndroidActivityIndicator[source]

Bases: enamlnative.android.android_progress_bar.AndroidProgressBar, enamlnative.widgets.activity_indicator.ProxyActivityIndicator

An Android implementation of an Enaml ProxyActivityIndicator.

declaration

A reference to the declaration. Why does this need set explicitly here?

indeterminate

Set it to be an indeterminate progress bar

No iOS implementation found.