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.
What class can be used to do this?
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.