Motion Toasts
Hello everyone, I am here with my new extension that is Motion Toast. This is a very simple and small extension that helps you to show motion and custom toast in your apps. The idea of making this extension is from Motion Toast library from Github. You can show your layout as toasts with offset and any gravity. You can show default toast of extension too.
Launched On :- 2021-11-21T18:30:00Z
Last Updated On:- 2021-11-21T18:30:00Z
Latest Version:- 1
Let see its blocks and their documentation
All Blocks
Designer Properties
Documentation
Let see the documentation now.
Error Occurred
This event raises when any error occurred.
Show Toast
This block show the default toast with given icon, title and body text. You can change the text color or typeface from designer properties.
Show Layout As Toast
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.
Background Color
Set the background color for the default toasts.
Body Color
Set the body text color of the default toasts.
Body Typeface
Set the custom font typeface of the body text of toast.
Duration
Set the duration of the toast.
Gravity
Set the gravity of the toasts.
Title Color
Set the title text color of the toast.
Title Typeface
Set the custom font typeface of the title of toast.
Usage
This extension is very small and simple in use.
Show Toast
Custom Layout as Toast
Preview
Simple Toast
Custom Toast (Android View Component)
Download
Donate
Credit
Thanks @Shreyash for the super power full Rush .
Thanks @Jerin_Jacob for his wonderful extension platform.
Like the extension if you like it
Suggestion and issue are welcome
Thanks you
Sumit