Android Question Toastmessageshow

Guenter Becker

Active Member
Licensed User
I like to customize the native toastmessageshow by using CSBuilder. It works fine but there is on thing left attached bitmaps are not shown in the toast. Instead the B4X Logo is shown.

Example:
    Dim cs As CSBuilder
    cs.Initialize
    cs.Alignment("ALIGN_CENTER")
    cs.Append("Call Center")
    cs.Append(CRLF)
    cs.Image(xui.LoadBitmapResize(File.DirAssets, "attention.png", 24dip,24dip, True), 24dip, 24dip, True)
    cs.Append(CRLF).Append(CRLF)
    cs.PopAll
    ToastMessageShow(cs,True)

Anyone has an Idea what is going wrong?
 

Guenter Becker

Active Member
Licensed User
Hi, sorry asked it some time ago and forget the reply.
Post may be closed. Thank you.
 
Upvote 0
Top