UI object designed for the bottom of the screen, with three buttons.
Public Member Functions | |
| UgiFooterView (Context context, AttributeSet attrs) | |
| Constructor. More... | |
| int | getThemeColorOverride () |
| Override to color in UgiUiActivity (default = nil) More... | |
| void | setThemeColorOverride (int themeColorOverride) |
| Override to color in UgiUiActivity (default = nil) More... | |
| int | getButtonColorOverride () |
| Override to color in UgiUiActivity (default = nil) More... | |
| void | setButtonColorOverride (int buttonColorOverride) |
| Override to color in UgiUiActivity (default = nil) More... | |
| int | getButtonPressedColorOverride () |
| Override to color in UgiUiActivity (default = nil) More... | |
| void | setButtonPressedColorOverride (int buttonPressedColorOverride) |
| Override to color in UgiUiActivity (default = nil) More... | |
| boolean | isForcedHidden () |
| See whether the footer is being forcably hidden. More... | |
| void | setForcedHidden (boolean forcedHidden) |
| Set whether the footer should be forcably hidden. More... | |
| float | getButtonSize () |
| Get the button size (defualt is 1.0) More... | |
| void | setButtonSize (float buttonSize) |
| Set the button size (defualt is 1.0) More... | |
| boolean | anyButtonsDisplayed () |
| See if any of the buttons are displayed. More... | |
| UgiButton | getCenterButton () |
| Get the center button. More... | |
| void | setLeft (String text, Runnable handler) |
| Set the left button title and handler. More... | |
| void | setCenter (String text, Runnable handler) |
| Set the center button title and handler. More... | |
| void | setRight (String text, Runnable handler) |
| Set the right button title and handler. More... | |
| int com.ugrokit.api.UgiFooterView.getThemeColorOverride | ( | ) |
Override to color in UgiUiActivity (default = nil)
| void com.ugrokit.api.UgiFooterView.setThemeColorOverride | ( | int | themeColorOverride | ) |
Override to color in UgiUiActivity (default = nil)
| themeColorOverride | new theme color override |
| int com.ugrokit.api.UgiFooterView.getButtonColorOverride | ( | ) |
Override to color in UgiUiActivity (default = nil)
| void com.ugrokit.api.UgiFooterView.setButtonColorOverride | ( | int | buttonColorOverride | ) |
Override to color in UgiUiActivity (default = nil)
| buttonColorOverride | new button color override |
| int com.ugrokit.api.UgiFooterView.getButtonPressedColorOverride | ( | ) |
Override to color in UgiUiActivity (default = nil)
| void com.ugrokit.api.UgiFooterView.setButtonPressedColorOverride | ( | int | buttonPressedColorOverride | ) |
Override to color in UgiUiActivity (default = nil)
| buttonPressedColorOverride | new button pressed color override |
| boolean com.ugrokit.api.UgiFooterView.isForcedHidden | ( | ) |
See whether the footer is being forcably hidden.
| void com.ugrokit.api.UgiFooterView.setForcedHidden | ( | boolean | forcedHidden | ) |
Set whether the footer should be forcably hidden.
| forcedHidden | true to forcably hide the footer |
| float com.ugrokit.api.UgiFooterView.getButtonSize | ( | ) |
Get the button size (defualt is 1.0)
| void com.ugrokit.api.UgiFooterView.setButtonSize | ( | float | buttonSize | ) |
Set the button size (defualt is 1.0)
| buttonSize | size to set |
| boolean com.ugrokit.api.UgiFooterView.anyButtonsDisplayed | ( | ) |
See if any of the buttons are displayed.
| UgiButton com.ugrokit.api.UgiFooterView.getCenterButton | ( | ) |
Get the center button.
| void com.ugrokit.api.UgiFooterView.setLeft | ( | String | text, |
| Runnable | handler | ||
| ) |
Set the left button title and handler.
| text | Button title |
| handler | Click handler |
| void com.ugrokit.api.UgiFooterView.setCenter | ( | String | text, |
| Runnable | handler | ||
| ) |
Set the center button title and handler.
| text | Button title |
| handler | Click handler |
| void com.ugrokit.api.UgiFooterView.setRight | ( | String | text, |
| Runnable | handler | ||
| ) |
Set the right button title and handler.
| text | Button title |
| handler | Click handler |
| com.ugrokit.api.UgiFooterView.UgiFooterView | ( | Context | context, |
| AttributeSet | attrs | ||
| ) |
Constructor.
| context | Context |
| attrs | Attributes |