java.lang.Object | |
↳ | com.droidux.pack.action.widget.QuickActionGrid |
An action widget that presents a set of actions in a grid (see here for example).
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | ANIM_AUTO | Automatically determine the appropriate animation based on the popup window location. | |||||||||
int | ANIM_DEFAULT | ||||||||||
int | ANIM_FADE | Fade animation. | |||||||||
int | ANIM_GROW_FROM_CENTER | Grow from center | |||||||||
int | ANIM_GROW_FROM_LEFT | Grow from left. | |||||||||
int | ANIM_GROW_FROM_RIGHT | Grow from right. | |||||||||
int | ANIM_NONE | No animation. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Begins the layout process to define the
ActionInterfaces.Item.ActionItem that should be hosted
by this action container. | |||||||||||
Dispose of the popup window.
| |||||||||||
Indicates whether the popup window is showing on screen.
| |||||||||||
Called when the layout process has ended (for internal use only, you normally don't need to call/override this method).
| |||||||||||
Sets the style of the window animation.
| |||||||||||
Sets the background to a given Drawable, or remove the background.
| |||||||||||
Sets whether to dismiss the window when the user click on an action item.
| |||||||||||
Sets whether to dismiss the window when the user click on an action item.
| |||||||||||
Sets the listener to be notified when the window is dismissed.
| |||||||||||
Sets the title of the window.
| |||||||||||
Display the content view in a popup window at the specified location.
| |||||||||||
Display the content view in a popup window anchored to the anchor view.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Automatically determine the appropriate animation based on the popup window location.
Grow from center
Grow from left.
Grow from right.
Begins the layout process to define the ActionInterfaces.Item.ActionItem
that should be hosted
by this action container.
ActionInterfaces.Item.ActionItem
to the container, you need
to call the endLayout()
to end the layout process.
Dispose of the popup window. If the popup window has not been shown, calling this method will have no effect.
Indicates whether the popup window is showing on screen.
Called when the layout process has ended (for internal use only, you normally don't need to call/override this method).
Sets the style of the window animation.
animStyle | The style resource id. |
---|
Sets whether to dismiss the window when the user click on an action item.
dismiss | If true, dismiss the window after the click. |
---|
Sets whether to dismiss the window when the user click on an action item.
dismiss | If true, dismiss the window after the click. |
---|---|
delay | Delay time (in millisecond) before dismissing the window. |
Sets the listener to be notified when the window is dismissed.
listener | The listener to be notified. |
---|
Sets the title of the window.
title | The title of the window. This can be null, to hide the title. |
---|
Display the content view in a popup window at the specified location.
parent | a parent view to get the getWindowToken() token from |
---|---|
targetXPos | the popup x location. This should be a raw value. See MotionEvent.getRawX(). |
targetYPos | the popup y location. This should be a raw value. See MotionEvent.getRawY(). |
Display the content view in a popup window anchored to the anchor view. The popup window can be displayed above or below the anchor view depends on the available space that can contain the window size.
anchor | The view which the window will be anchored to. |
---|