Settings.allowBackup = true
within the constructor method in your application's MainWindowpendown
instead of the penup
. To better understand, follow the definitions:pendown
is triggered when there is a touch on the screen.penup
is triggered when finger flips the screen (or mouse/key, depending on the platform).pendrag
, and if it is positive, do not trigger the penup
.this.hadParentScrolled()
method within your pendown method, to identify whether the action is being triggered during the scrolling of some parent component. As shown below:swap(new InitialScreen());
- If you are in the Main Window and want to call a Container, simply use the swap()
command.MainWindow.getMainWindow().Swap(new SecondScreen());
- If you are in a container or Window and want to call a Container just use the command..popup()
- The execution stops after the popup()
command is executed..popupNonBlocking()
- the execution continues right after the popup command, even with the window still openFloatingButton
. In other cases, you can change using NinePatch or do the most recommended: use an ImageButton as in the following example: Font.getFont ("Roboto Medium", true, FontSize);
uncompressedSize
; therefore, it can not be more than 4gb. As TotalCross apps are 32bits, as far as I can remember, I would still lower this limit to 2gb, because the system will not be able to allocate more than this contiguous memory.LOW_GPS_PRECISION
. java.text
so the DecimalFormat is not on our SDK.