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

519 views Asked by At

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?

1

There are 1 answers

1
Yash Sampat On BEST ANSWER

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.