OriginalToast Extension [Free & Open Source]

There's actually no problem at all for the Android 11, but anyways good work!

3 Likes

Great work :+1:

Because Ai2 isn't yet targeting API 30.So custom toasts still works, due to the fact that the custom toasts aren't removed from the Android SDK, they are just deprecated in API version 30, which means that they can be no longer used when Ai2 targets API 30.

4 Likes

Might be useful to provide a list of gravity values for positioning....

2 Likes

They are listed here:
https://developer.android.com/reference/android/view/Gravity#constants_1

1 Like

I saw that, but for most users this would not make much sense.

e.g. what constant would place the toast vertical centre, 2/3 from the top ?

A simple list of these would help, rather than having to figure out the somewhat obscure descriptions from Android, or trial and error, one by one.

2 Likes

Good job.

I didn't help you.

Also sometimes, a combination of more than one constant is needed so providing blocks for it will be useful.

1 Like

Thank you very much @MohamedTamer, @WatermelonIce, @TIMAI2, @vknow360

1 Like

Yes, actually my extension, it works on all versions of Android

1 Like

OK I'll try to add the list like you said


Maybe you have forgotten, you helped me a lot,
but I will never forget your help :innocent:


I think I will do some research for that constant

Nice extensions, Some new features (margin and gravity) :wink:

1 Like

Thank you @newbiedeveloper :kissing_heart:

Okay @TIMAI2 I have Added List For Constant Value.

Good man :+1:

1 Like

Thanks a lot @TIMAI2 for the great idea :kissing_heart:

Awesome work friend! Keep it up

1 Like

Thank you very much for your support @Techno_Vedang :innocent: :kissing_heart:

1 Like

New Update

OriginalToast Extension [Free & Open Source]

  • Fixed Minor Bugs in Toast Duration
2 Likes

Final Update

OriginalToast Extension [FREE]

  • Removed Set Gravity Block (deprecated in API level 30)
  • Removed Set MarginX Block (deprecated in API level 30)
  • Removed Set MarginY Block (deprecated in API level 30)
  • Fixed Minor Bugs in ShowToast Block
3 Likes

Hi Everyone Now This Extension Is Open Source.

OriginalToast Extension [Free & Open Source]

Note: This extension won't be updated anymore, that's why I've provided the source code.


Ko-fi_Icon_RGB_rounded Buy me a coffee

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.