-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(android): no_limits layout #11911
Conversation
Tests:
|
@garymathews Can you please give CR? LGTM, but you or Josh should verify as well. Also, we'll need to re-target this to 9_3_X since master/9.2.0 is iOS only right now. |
@m1ga , I disagree with this change. You're making a bad assumption that The Side Note: You can already set this flag "today" by doing the following... const FLAG_LAYOUT_NO_LIMITS = 512;
const window = Ti.UI.createWindow({
extendSafeArea: true,
theme: "Theme.AppCompat.NoTitleBar",
windowFlags: FLAG_LAYOUT_NO_LIMITS,
}); The BEST solution that you can do today is to use a theme that sets the status bar transparent. Alternately, we can add an API that allows the developer to set that status bar color via the Java Window.setStatusBarColor() method. This Java method does allow you to set it transparent. We also get to keep our "safeAreaPadding" feature so that you can correctly detect inset height of the status bar. Note that this Java method is API Level 21 (aka: Android 5.0). I think this approach is probably the most convenient to use. Edit: |
@jquick-axway oh wow! Thanks for having such a detailed look at it. Didn't know that it is different on all platforms. I'll check that again |
JIRA: https://jira.appcelerator.org/browse/AC-6589
Optional Description:
Make the statusbar background fully transparent but still show it (instead of going fullscreen)
left window:
right window: