Tintinabulator Zea
Tintinabulator Zea

Reputation: 2807

How to show a pop up in Android and still be able to click on fragment

I'm trying to create a pop up that will notify the user if they got the correct answer, the user can then click the continue button to the next question. The pic below from the Duolingo app shows exactly what I want.

pic1 pic2

What class can be used to do this?

Upvotes: 0

Views: 511

Answers (1)

Yash Sampat
Yash Sampat

Reputation: 30601

Use the PopupWindow class. It does exactly what you want. That's what has been used in the screenshot you posted above.

Here's an example: How to Implement Popup Window in Android.

Upvotes: 2

Related Questions