I want to display a text for two seconds that tells the user that he has made a mistake. I want the behavior of an popup behavior of an AlertDialog. However the alert should close automatically after two seconds and accept no on screen clicks that close it.
What class should I use?