Native message element to the user other than native:showAlert()

I’m playing around with displaying a message to the user but can’t seem to find a native-like element that isn’t an alert. I do not want the buttons, neither the title, I would only like to display something like “Status succesfully changed” or the help next to the buttons after the user holds them long enough. It should look similar to the system’s “Connected to wifi /…/” - I’m using Android, but I suppose the iOS has also got something of sort. Is there such a thing in Corona? If yes, is it possible to define the position on the screen? Thanks in advance!

There isn’t anything native for this, but you could create a display.newContainer() object, put your background and display.newText() in it.  When you hold your button for a while you could trigger something to pop it up and  another timer to close it, kinda like a tool tip.

Rob,

thank you for answering that fast.

I used your suggestion with pop up after long press and hide after some time.

Happy coding, Pjanc

There isn’t anything native for this, but you could create a display.newContainer() object, put your background and display.newText() in it.  When you hold your button for a while you could trigger something to pop it up and  another timer to close it, kinda like a tool tip.

Rob,

thank you for answering that fast.

I used your suggestion with pop up after long press and hide after some time.

Happy coding, Pjanc