I am developing an drag and drop mobile app in Haxe, OpenFL. My draggable element gets stuck behind the navigation bar. My app perfectly fits the dimensions got from stage.stageWidth, stage.stageHeight area excluding the navigation bar.
Hence, I need my app to occupy the total width of the mobile screen, also the navigation bar area. The navigation bar should be hidden in devices with Immersive navigation bar (should be transparent while dragging the bar, in) I tried some of these options -
-
in project.xml
<window fullscreen="true" resizable="true" borderless="false" vsync="false" />
now, the navigation bar is shown with three dots for the three buttons. -
While searching for solutions for this same issue, I found that some codes has to be added in GameActivity.java and in MainActivity.java.
Please suggest me what settings has to be given in project.xml. Is there any way to achieve the required before exporting the app, I mean, settings that have to be given (in project.xml or in Main hx file), before creation of the .java files.