Android Status Bar hidden by default on Fullscreen App #14018
-
I feel like I am asking a lot of questions atm. This is related to Android fullscreen styling. I have a full screen app where the window layer fills the entire height and width of the screen and has a background image which is visible below the status and action bars (which are semi-transparent). Then I'm using a windowSafeArea layer for screen content which is clamped to the available space below the devices top status bar and above android action bar. This works all correctly. The only weird thing is that the top status bar on Android with the time and notifications is hidden by default, I have to pull it down from the top of the screen to show it. Then it animates out after a few seconds. Is there a setting I'm not aware of that is causing this, and can it be controlled? Ideally, what I'd like is for the top status bar to be on screen all of the time, with a completely transparent background. Window Layer config below:
Theme XML Below:
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
isn't that the point of the fullscreen layout? Maybe the real question is: what kind of layout do you want to have 😄 ?
don't worry! That's the point of this section to ask and get help. |
Beta Was this translation helpful? Give feedback.
-
I see, I'll try that in a few. Thanks :) |
Beta Was this translation helpful? Give feedback.
-
Tested it with theme Theme.Titanium.Light.NoTitleBar and it now appears which is great. However, the bar is semi-transparent not fully transparent. From the links, this is done from a theme but I can't seem to find direction on which one. Any ideas on that? |
Beta Was this translation helpful? Give feedback.
-
I've been having a look into it and I'm seeing posts say to set the statusbar colour programmatically, but it seems really inconsistent. So I'm going to leave it for now. Thanks for the help, the important thing is sorted :) |
Beta Was this translation helpful? Give feedback.
The screenshot show the fullscreen layout, yes. But if you want to have the statusbar be visible it is a different layout. That should be the
no_limits
flag: #11911 (comment) and you can use this flag: https://titaniumsdk.com/api/titanium/ui/android.html#flag_layout_no_limits