AI2 Component
(Version nb184)
|
Classes | |
enum | Theme |
Public Member Functions | |
void | onCreate (Bundle icicle) |
final boolean | isAppCompatMode () |
void | onConfigurationChanged (Configuration newConfig) |
void | onSupportActionModeStarted (ActionMode actionMode) |
void | onSupportActionModeFinished (ActionMode actionMode) |
ActionMode | onWindowStartingSupportActionMode (Callback callback) |
void | setContentView (View view) |
ActionBar | getSupportActionBar () |
Static Public Member Functions | |
static boolean | isEmulator () |
static boolean | isClassicMode () |
static void | setClassicModeFromYail (boolean newClassicMode) |
Protected Member Functions | |
void | onPostCreate (Bundle savedInstanceState) |
void | onPostResume () |
void | onStop () |
void | onDestroy () |
void | onTitleChanged (CharSequence title, int color) |
void | setActionBarEnabled (boolean enabled) |
void | setClassicMode (boolean classic) |
void | setPrimaryColor (int color) |
boolean | isRepl () |
void | hideTitleBar () |
void | maybeShowTitleBar () |
void | styleTitleBar () |
void | setAppInventorTheme (Theme theme) |
Static Protected Member Functions | |
static boolean | isActionBarEnabled () |
static int | getPrimaryColor () |
Protected Attributes | |
ThemeHelper | themeHelper |
AppInventorCompatActivity provides a base implementation of Activity that handles the styling of the application. This allows the user to change the Theme of the application in the REPL (to the best of our ability). Any Activity in App Inventor should now extend this class to get the correct theme.
Definition at line 40 of file AppInventorCompatActivity.java.
|
staticprotected |
Definition at line 248 of file AppInventorCompatActivity.java.
ActionBar com.google.appinventor.components.runtime.AppInventorCompatActivity.getSupportActionBar | ( | ) |
Definition at line 207 of file AppInventorCompatActivity.java.
|
protected |
Definition at line 268 of file AppInventorCompatActivity.java.
|
staticprotected |
Definition at line 227 of file AppInventorCompatActivity.java.
final boolean com.google.appinventor.components.runtime.AppInventorCompatActivity.isAppCompatMode | ( | ) |
Definition at line 119 of file AppInventorCompatActivity.java.
|
static |
Definition at line 237 of file AppInventorCompatActivity.java.
|
static |
Definition at line 220 of file AppInventorCompatActivity.java.
|
protected |
Reimplemented in com.google.appinventor.components.runtime.ReplForm.
Definition at line 263 of file AppInventorCompatActivity.java.
|
protected |
Reimplemented in com.google.appinventor.components.runtime.Form.
Definition at line 280 of file AppInventorCompatActivity.java.
void com.google.appinventor.components.runtime.AppInventorCompatActivity.onConfigurationChanged | ( | Configuration | newConfig | ) |
Reimplemented in com.google.appinventor.components.runtime.Form.
Definition at line 140 of file AppInventorCompatActivity.java.
void com.google.appinventor.components.runtime.AppInventorCompatActivity.onCreate | ( | Bundle | icicle | ) |
Reimplemented in com.google.appinventor.components.runtime.SplashActivity, com.google.appinventor.components.runtime.ListPickerActivity, com.google.appinventor.components.runtime.WebViewActivity, com.google.appinventor.components.runtime.Form, and com.google.appinventor.components.runtime.ReplForm.
Definition at line 65 of file AppInventorCompatActivity.java.
|
protected |
Reimplemented in com.google.appinventor.components.runtime.Form, and com.google.appinventor.components.runtime.ReplForm.
Definition at line 156 of file AppInventorCompatActivity.java.
|
protected |
Definition at line 124 of file AppInventorCompatActivity.java.
|
protected |
Definition at line 132 of file AppInventorCompatActivity.java.
|
protected |
Reimplemented in com.google.appinventor.components.runtime.Form, and com.google.appinventor.components.runtime.ReplForm.
Definition at line 148 of file AppInventorCompatActivity.java.
void com.google.appinventor.components.runtime.AppInventorCompatActivity.onSupportActionModeFinished | ( | ActionMode | actionMode | ) |
Definition at line 179 of file AppInventorCompatActivity.java.
void com.google.appinventor.components.runtime.AppInventorCompatActivity.onSupportActionModeStarted | ( | ActionMode | actionMode | ) |
Definition at line 174 of file AppInventorCompatActivity.java.
|
protected |
Definition at line 164 of file AppInventorCompatActivity.java.
ActionMode com.google.appinventor.components.runtime.AppInventorCompatActivity.onWindowStartingSupportActionMode | ( | Callback | callback | ) |
Definition at line 185 of file AppInventorCompatActivity.java.
|
protected |
Definition at line 232 of file AppInventorCompatActivity.java.
|
protected |
Definition at line 311 of file AppInventorCompatActivity.java.
|
protected |
Definition at line 242 of file AppInventorCompatActivity.java.
|
static |
Definition at line 350 of file AppInventorCompatActivity.java.
void com.google.appinventor.components.runtime.AppInventorCompatActivity.setContentView | ( | View | view | ) |
Definition at line 190 of file AppInventorCompatActivity.java.
|
protected |
Definition at line 253 of file AppInventorCompatActivity.java.
|
protected |
Definition at line 292 of file AppInventorCompatActivity.java.
|
protected |
Definition at line 62 of file AppInventorCompatActivity.java.