0

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?

Community
  • 1
  • 1
Tintinabulator Zea
  • 2,617
  • 5
  • 18
  • 32
  • Make it as an Invisible view that will be shown after used did an action. You should be able to add transition animation too. – reidzeibel Jun 09 '15 at 04:01

1 Answers1

2

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.

Yash Sampat
  • 30,051
  • 12
  • 94
  • 120
  • Thanks, i tried invisible method because i didnt see your answer right away and it worked pretty well, i will try PopupWindow next i didnt know about that either. Thank you. – Tintinabulator Zea Jun 09 '15 at 06:07