public class

WaitView

extends View
java.lang.Object
   ↳ com.neomades.ui.View
     ↳ com.neomades.ui.WaitView

Class Overview

This view shows an infinite wait indicator.

Cross Platform Considerations

Avoid setting MATCH_PARENT for WaitView.

Summary

XML Attributes
Attribute Name Related Method Description
color setColor(Color) #AARRGGBB or a color  
[Expand]
Inherited XML Attributes
From class com.neomades.ui.View
Constants
int STYLE_GRAY The iOS standard gray style of indicator.
int STYLE_WHITE The iOS standard white style of indicator (the default in iOS).
int STYLE_WHITE_LARGE The iOS large white style of indicator.
[Expand]
Inherited Constants
From interface com.neomades.ui.Alignment
From interface com.neomades.ui.StretchMode
Public Constructors
WaitView()
Public Methods
void setColor(Color color)
Sets the waiting indicator color.
void setIndicatorStyle(int style)
Sets the iOS WaitView style.
void startAnimation()
Starts the animation of this WaitView.
void stopAnimation()
Stops the animation of this WaitView.
[Expand]
Inherited Methods
From class com.neomades.ui.View
From class java.lang.Object

XML Attributes

color

#AARRGGBB or a color

Related Methods

Constants

public static final int STYLE_GRAY

The iOS standard gray style of indicator.

Constant Value: 3 (0x00000003)

public static final int STYLE_WHITE

The iOS standard white style of indicator (the default in iOS).

Constant Value: 2 (0x00000002)

public static final int STYLE_WHITE_LARGE

The iOS large white style of indicator.

Constant Value: 1 (0x00000001)

Public Constructors

public WaitView ()

Public Methods

public void setColor (Color color)

Sets the waiting indicator color.

Related XML Attributes
Parameters
color indicator color
See Also

public void setIndicatorStyle (int style)

Sets the iOS WaitView style.

By default in iOS, the style is STYLE_WHITE.

Limitations

In Android, this method has no effect.

Parameters
style STYLE_GRAY, STYLE_WHITE or STYLE_WHITE_LARGE

public void startAnimation ()

Starts the animation of this WaitView.

Limitations

In Android, this method has no effect.

public void stopAnimation ()

Stops the animation of this WaitView.

Limitations

In Android, this method has no effect.