Jeff Givens
Posts: 0
Joined: Sat Aug 10, 2013 8:20 pm

Hide or Remove Phone Status Bar for Android and iOS builds

Is there a way to remove the phone status bar (the thing at the very top of your phone that shows the date/time/battery percentage/wi-fi connections/notifications, etc.)? I have done this in other languages before, but I'm not seeing where this is an option in Appery. It is causing my Android build to have a 'scrolling' effect when I don't want one. I just want the first page to be maximized without scrolling. (Content takes up entire display but does not exceed that boundaries of my screen size due to the status bar)

Image

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Hide or Remove Phone Status Bar for Android and iOS builds

Hi Jeff - you want only the first page to be full screen?

Jeff Givens
Posts: 0
Joined: Sat Aug 10, 2013 8:20 pm

Hide or Remove Phone Status Bar for Android and iOS builds

Illya, thank you for the fast response.

I realize after reading my post again how you might have been led to be believe I only wanted the first page to be full screen. That is true and false at the same time. My first screen is a 'Navigation'-style page with buttons on it that can be clicked to access other areas of the app. The OTHER pagse can scroll if necessary (if their collective object Heights exceed the screen Height), but the first page absolutely can not for it to be the style I am looking for.

That being said, I would like to have the 'phone status' bar removed for the entire application. I am familiar with programming for the phones using Lua (more specifically, Corona SDK). In that language, you can accomplish this task by incloding the code:

display.setStatusBar( display.HiddenStatusBar )

Within your .lua file that is being displayed. I am wondering what the equivalent for this would be with Appery. Even if it isn't built in by default as part of the App Settings, maybe it could be done with a custom CSS or Plugin?

Thanks in advance.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Hide or Remove Phone Status Bar for Android and iOS builds

Appery.io uses PhoneGap for native device capabilities. Check their docs to see if such feature/API is available. Every project that you create in Appery.io includes PhoenGap.

Return to “Issues”