[AC-772] AppCompat actionBar.hide() doesn't hide the actionbar prior to a window appearing
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Duplicate |
Resolution Date | 2014-06-17T22:53:17.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Andrew Greenstreet |
Assignee | Ingo Muschenetz |
Created | 2014-06-16T23:56:19.000+0000 |
Updated | 2016-03-08T07:37:02.000+0000 |
Description
For example:
var window = Ti.UI.createWindow();
window.addEventListener("open", function f() {
window.removeEventListener("open", f);
window.activity.actionBar.hide();
});
window.add(Ti.UI.createLabel({text:"App Compat or just ignore Android < 4.0"});
window.open({
opacity : 1,
windowSoftInputMode: titanium.UI.Android.SOFT_INPUT_ADJUST_RESIZE,
});
The action bar will appear for a short time before being hidden. This makes it impossible to make transparent overlay windows, that do not require an Action Bar, without making the app seem clunky and broken.
Is it possible to make AppCompat optional or at least make navBarHidden : true work with AppCompat?
Resolving as duplicate of linked issue.