How to solve the problem with the top bar of a TotalCross project

1

I have a TotalCross project and when I generate an apk my program gets the space that is below the top bar of my android device and I would like the project to be below this top bar

    
asked by anonymous 05.12.2018 / 15:17

1 answer

0

For those of you who have the same problem as myself, I have been able to find the solution, and from what I have been informed in the next TotalCross updates, this problem will be corrected, to solve this basically create this variable: "private int DPTOP = (int) Settings.screenDensity * 24); " out of methods and when you position the container or some component that will be at the top of your screen, where you would normally put TOP, put the variable DPTOP, and so it will skip the correct space of the top bar of the cell. >     

05.12.2018 / 16:59