- Home >
- Projects >
- Motion Toast
Motion Toast
This is a very simple and useful extension. This extension allows you to show custom toast alerts with offset and gravity. You can use this extension to show your layouts as toast with any gravity and offset.
All Blocks
Documentation
This event raises when any error occurred.
This block show the default toast with given icon, title and body text. You can change the text color or typeface from designer properties.
This block helps you to show any android view component as a toast with given duration, gravity
and offsets.
Duration:- Pass 1
for long duration and 0
for short
duration.
Gravity:- Pass 48 for top gravity, 17 for center and 80 for bottom gravity
Offsets:- x specifies the horizontal offset and y vertically.
Set the background color for the default toasts.
Set the body text color of the default toasts.
Set the custom font typeface of the body text of toast.
Set the duration of the toast.
Set the gravity of the toasts.
Set the title text color of the toast.
Set the custom font typeface of the title of toast.
How to Use
This extension is very small and simple in use.
Show Toast
Custom Layout as Toast
Screenshots
Simple Toast
Custom Toast (Android View Component)
Downloads
You can download this extension from AI2 Store.