![]() |
AI2 Component
(Version nb184)
|
Public Member Functions | |
| IceCreamSandwichThemeHelper (AppInventorCompatActivity activity) | |
| void | requestActionBar () |
| boolean | setActionBarVisible (boolean visible) |
| boolean | hasActionBar () |
| void | setTitle (String title) |
| void | setActionBarAnimation (boolean enabled) |
| void | setTitle (String title, boolean black) |
Definition at line 17 of file IceCreamSandwichThemeHelper.java.
| com.google.appinventor.components.runtime.util.theme.IceCreamSandwichThemeHelper.IceCreamSandwichThemeHelper | ( | AppInventorCompatActivity | activity | ) |
Definition at line 21 of file IceCreamSandwichThemeHelper.java.
| boolean com.google.appinventor.components.runtime.util.theme.IceCreamSandwichThemeHelper.hasActionBar | ( | ) |
Tests whether the theme supports ActionBar.
Implements com.google.appinventor.components.runtime.util.theme.ThemeHelper.
Definition at line 47 of file IceCreamSandwichThemeHelper.java.
| void com.google.appinventor.components.runtime.util.theme.IceCreamSandwichThemeHelper.requestActionBar | ( | ) |
Request the ActionBar functionality fot the platform, if available.
Implements com.google.appinventor.components.runtime.util.theme.ThemeHelper.
Definition at line 26 of file IceCreamSandwichThemeHelper.java.
| void com.google.appinventor.components.runtime.util.theme.IceCreamSandwichThemeHelper.setActionBarAnimation | ( | boolean | enabled | ) |
Sets whether the ActionBar appear/disappear animation is shown (AppCompat mode only).
| enabled | true if the animation should be used when visibility of the ActionBar is toggled, otherwise false. |
Implements com.google.appinventor.components.runtime.util.theme.ThemeHelper.
Definition at line 60 of file IceCreamSandwichThemeHelper.java.
| boolean com.google.appinventor.components.runtime.util.theme.IceCreamSandwichThemeHelper.setActionBarVisible | ( | boolean | visible | ) |
Change the ActionBar visibility
| visible | true if the ActionBar should be made visible, otherwise false. |
Implements com.google.appinventor.components.runtime.util.theme.ThemeHelper.
Definition at line 31 of file IceCreamSandwichThemeHelper.java.
| void com.google.appinventor.components.runtime.util.theme.IceCreamSandwichThemeHelper.setTitle | ( | String | title | ) |
Sets the title of the activity in the ActionBar.
| title | New title text for the ActionBar |
Implements com.google.appinventor.components.runtime.util.theme.ThemeHelper.
Definition at line 52 of file IceCreamSandwichThemeHelper.java.
| void com.google.appinventor.components.runtime.util.theme.IceCreamSandwichThemeHelper.setTitle | ( | String | title, |
| boolean | black | ||
| ) |
Sets the title of the ActionBar and its color. If
is true, the helper should attempt to make the text black. Otherwise, the text will be white.
| title | the new title for the ActionBar |
| black | true if black text is desired, false if white text is desired |
Implements com.google.appinventor.components.runtime.util.theme.ThemeHelper.
Definition at line 68 of file IceCreamSandwichThemeHelper.java.