java.lang.Object | |
↳ | com.droidux.pack.action.widget.ActionPathMenu.LinearLayoutBuilder |
The helper class to build a linear path menu.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds the action to the menu.
| |||||||||||
Adds a list of actions to the menu.
| |||||||||||
This will end the layout process.
| |||||||||||
How long the animation to expand/collapse the menu should last.
| |||||||||||
You can override the animations use by the menu, eg.
| |||||||||||
Customize the linear path.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Adds the action to the menu.
action | The action to be added. |
---|
this
Adds a list of actions to the menu.
actions | The action to be added. |
---|
this
How long the animation to expand/collapse the menu should last. The duration cannot be negative.
millis | Duration in milliseconds. |
---|
this
You can override the animations use by the menu, eg. expand/collapse animation, by providing an implementation
of the ActionPathMenu.AnimationFactory
.
factory | This will provide the animations to be used by the menu. |
---|
this
Customize the linear path.
tiltAngle | The linear path will be tilted with the specified angle in degrees. |
---|---|
spacing | The distance between menu items, in pixels. |
this