I need to create a popup window with buttons and a button that will close the popup. I found some tutorials but I couldn't find out how to do the implementation.
What I want to do: Click an action button and the popup shows and when I click the the close button the popup window must close.
There were an onCreate method in the tuorials and I didn't understand how is it called.
Can somebody give an example of an popup implementation or a link to a good tutorial? Thank you!