[AC-785] Can't hide Android action bar/Hiding the action bar doesn't produce the desired behavior
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2015-07-04T00:24:09.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | TCSupportTriage, android |
Reporter | Ahmed Elkady |
Assignee | Radamantis Torres-Lechuga |
Created | 2014-10-21T18:29:19.000+0000 |
Updated | 2016-03-08T07:37:03.000+0000 |
Description
As far as I know due to the upgrades to the Titanium SDK there are three ways to hide the action bar on Titanium:
1. Calling window.activity.actionBar.hide() when the window opens
2. Changing the global app theme to hide the action bar for all the windows
3. Feeding in a custom theme when creating the window through the Titanium createWindow() method.
Neither of these ways is an option for me, and this is why (for each of the ways):
1. The action bar appears for a split second before it disappears, i.e. the action bar isn't already hidden when the window opens
2. Some of the windows in my app use the action bar, some don't. Thus, this all or nothing solution isn't an option.
3. The windows are created/opened through the Alloy MVC framework (by creating Alloy controllers), not the createWindow() method. Thus, this isn't an option either.
Thus, I was wondering if there was another way to hide the action bar such that it doesn't appear for a split second when the window is opened.
No comments