Android Question Click for Dialog - B4XDialog template

Kope

Active Member
Licensed User
Longtime User
Please I need help with this Dialog implemented in Facebook and on WhatsApp

I want it on B4i as well

thanks
 

Attachments

  • 6BBA9BC8-6C5D-49BD-8182-722DE9A28FEB.jpeg
    6BBA9BC8-6C5D-49BD-8182-722DE9A28FEB.jpeg
    162.5 KB · Views: 146
  • ACB132EA-168D-44A6-AB26-6F89F6116B1F.jpeg
    ACB132EA-168D-44A6-AB26-6F89F6116B1F.jpeg
    107.9 KB · Views: 159

Kope

Active Member
Licensed User
Longtime User
Thanks soo much Erel, you just saved me.
Please i need help in adding icons to listed items

Thank You
 
Upvote 0

Kope

Active Member
Licensed User
Longtime User
WHERE is the Problem?

Did you checked the Example provided?
B4X:
mt.Initialize
    mt.Items.Add("View saved items")
    mt.Items.Add("Open in Safari")
    mt.Items.Add("Copy link")
    mt.Items.Add("Mark link as suspicious")

ADD more Items here if you want
there is no problem, just wanted to add icons to the items
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
I edited my post after i realized you need to add icons and not only "add new items"
I answered 1st to add new items like in the example.

check the templatecode.
It is internal using a xCLV for the Items.

Replace AddItem sub in the Class MyTemplate with new code to add a Icon too.
 
Last edited:
Upvote 0
Top