fullscreen application

12 views
Skip to first unread message

alis...@gmail.com

unread,
Feb 12, 2018, 9:07:29 PM2/12/18
to CodenameOne Discussions
If you are experiencing an issue please mention the full platform your issue applies to:
IDE: NetBeans/Eclipse/IDEA
Desktop OS
Simulator
Device

I have 2 questions
1- how can I set my application to full screen
2- how to make the screen to never sleep while application is running

Shai Almog

unread,
Feb 13, 2018, 12:16:40 AM2/13/18
to CodenameOne Discussions
1. It's always full screen on iOS just define StatusBar to 0 padding. On Android we just added this https://github.com/codenameone/CodenameOne/issues/2220

2. Display.getInstance().setScreenSaverEnabled(false)
Reply all
Reply to author
Forward
0 new messages