This extension has also a free version. The free version can show the simple default toasts, while the full version can show full customizable toasts at any position on screen and even with custom colors and image.
You can download the demostration_app.apk and test the extension on an actual device.
The "Ultimate Toast Extension for Android" is compatible with GameMaker Studio 2.
This extension allows your GameMaker Studio 2 project, to show from simple to fully customizable toast messages natively on android devices. It is very easy to use, with very simple API. It is written with Java and it is lightweight and natively fast.
This extension is for android devices that are able to deliver toasts, therefore the GameMaker Studio 2 Mobile Module is required.
To enable the debug logs use the following method:
The simplest way to show a toast is by the following method:
If you need a more customizable toast, then you should use the following method:
android_show_toast_ext(msg, duration, gravity1, gravity2, h_offset, v_offset);
You can show a fully customized toast with a custom image and custom colors with the following method:
android_show_toast_custom(msg, duration, gravity1, gravity2, h_offset, v_offset);
The customized colors and the custom image are defined within a layout xml file.
Initial stable version 1.0.0