Titanium JIRA Archive
Appcelerator Community (AC)

[AC-785] Can't hide Android action bar/Hiding the action bar doesn't produce the desired behavior

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2015-07-04T00:24:09.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
LabelsTCSupportTriage, android
ReporterAhmed Elkady
AssigneeRadamantis Torres-Lechuga
Created2014-10-21T18:29:19.000+0000
Updated2016-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.

Comments

No comments

JSON Source