Showing Status Bar

From Gideros Wiki
Jump to: navigation, search

Although it's not possible to change the visibility of status bar inside Lua, you can make it visible after exporting the project.

Android

After exporting, open AndroidManifest.xml file and change the property:

   android:theme="@android:style/Theme.NoTitleBar.Fullscreen"

with

   android:theme="@android:style/Theme.NoTitleBar"


Also if the orientation of your application is landscape, change the property

   android:screenOrientation="portrait"

with

   android:screenOrientation="landscape"

iOS

After exporting, open .plist file and change the Status bar is initially hidden property to NO.

Also if the orientation of your application is landscape, enable autorotation.