Titanium: How to hide the actionBar in a non-Alloy project?
问题 I have no problem hiding the action bar in an Alloy project. However, how do I do this in a non-Alloy project? I tried this: win.activity.actionBar.hide(); But it doesn't work. 回答1: Via win.activity.actionBar.hide(); you can only hide the Action Bar when your window is finally opened. The main disadvantage is that sometimes you can see the Action Bar for a few milliseconds, because the window is initially created with Action Bar. Since Titanium SDK 4.2.0 there are 4 predefined themes to hide