Android Question As_DynamicToast close button issue

Scantech

Well-Known Member
Licensed User
Longtime User
The x button is slightly offset.

Code: Copy
Dim ts As Map = Toast.TitleStyle
ts.Put("fontSize", 10)
Toast.TitleStyle = ts

The only changes i did is above code. I adjusted the text with smaller textsize.
 

Attachments

  • Screenshot_20261114_124215.jpg
    Screenshot_20261114_124215.jpg
    175.1 KB · Views: 31
Last edited:
Code: Copy
    Dim ic As Map = Toast.Icons
    ic.Put("close", xui.LoadBitmap(File.DirAssets, "close.png"))
    Toast.Icons = ic

My workaround. Its centered properly with image file.
 

Attachments

  • Screenshot_20261114_142423.jpg
    Screenshot_20261114_142423.jpg
    152.4 KB · Views: 20
Upvote 0
Back
Top