Custom Toast Extension

Hey Everyone,
This extension helps you to create a custom toast with a given arrangement.It only have one function and three properties.

Blocks

NiotronCustomToastBlocks
NiotronCustomToastProperties

You can set Toast Duration 0 for Short length and 1 for Long length.
You can set Toast Gravity like Center,Top,ect…(In Integer) Check gravity values here.
You can also set if you want roundedCorners in toast or not.(Set layout background color to none and use bgcolor option in extension to use it succesfully)

Usage

NiotronCustomToastUsage

Download

v2 - CustomToast.aix (7.7 KB)
v1- CustomToast.aix (7.4 KB)

Update v2 - Added designer property to change notifier location by x and y.

5 Likes

Useful Extension for all developers, nice work keep it up :hugs:

Very nice bro i really need this extension

1 Like

Thanks to both of you for appreciation :smile:

Updated Extension :yum:

3 Likes

v3 - CustomToast.aix (7.8 KB)
In this version the set arrangement block have been made a property

1 Like

can you share block how to use this extension ?

Block for v1 and v2 is given in first post.
Here is block for v3
f43b0154aa24ded5d6d46611fe1a7d41b756245c
Everything is explained in the first post.

2 Likes

Is it possible to make custom x,y position toast?

Yup,it’s possible …

If we make arrangement visible its shows on home page,make that we can hide it before showing toast and icon is big too.

Which version are you using?
And what you mean by icon is big?

I am using v3 ,

Just set arrangement for custom toast on initialize and it will hide

Nice Extension :ok_hand:It will help in my project :grin:

Thanks for appreciation!