Android Question How do I create an activity that looks like a popup

davepamn

Active Member
Licensed User
Longtime User
I want to display a message on an activity, but don't want to use the full screen. I want it to look like a popup dialogue.
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

davepamn

Active Member
Licensed User
Longtime User
Toast 1 seems to be what I want

B4X:
    Dim myT As CToast
   
    myT.Initialize(Activity, Me, Activity.Height, Activity.Width)

myT.ToastMessageShow2("Please Take a Temperature", 5,  25, 50, "bdn.png", Colors.Red, Colors.Gray, 50, False)
 
Last edited:
Upvote 0
Top