Android Question ToastMessageShow

Guenter Becker

Active Member
Licensed User
Good Day to the audiance,
today my question is going to the native inbuild ToastMessageShow.

Is it possible to customize the toast (Color, Border a.s.o.)?
Is it possible to change the standard Icon?
Is it possible to change Duration (make long Duration longer/shorter)?

If One or better all answers are yes a snipped with B4A code would be fine to show how to do it.

By the way I know that there are other custom toast solutions but for my current project I do not want to use special external libs.
 

GMan

Well-Known Member
Licensed User
Longtime User
Did you search for "ToastMessageShow" in the top ight corner ?
There are several solutions for several Enhancements
1681912700990.png


Additional infos you find here:
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Is it possible to customize the toast (Color, Border a.s.o.)?
Is it possible to change the standard Icon?
Is it possible to change Duration (make long Duration longer/shorter)?
No. No. No.
This is a native Android Feature you can not change.
 
Upvote 0

mcqueccu

Well-Known Member
Licensed User
Longtime User
 
Upvote 1

Guenter Becker

Active Member
Licensed User
Hello,
thank you for your quick reactions and a special thankyou to Don Manfred and GMan because they were the only one who read my post complete! If you look into the post I published that I know that there are several other solutions but all of these are build on additional libraries and exactly this was excluded as I posted!

Bottom like Pane is possible but also rough work around (Thank you for this reply).

A little customizing can be done! Use CS Builder to get a background and text color. But this is not enought.
 
Upvote 0
Top