Showing Toast or Alert in front of a SurfaceView

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Showing Toast or Alert in front of a SurfaceView

Postby andreleitao » Wed Apr 08, 2009 1:31 pm

Hi, I would like to know if there is a way to show Toast or Alert when a SurfaceView is being shown. For example:

Toast.makeText(myActivity, "I want to show you", 3000);

When my SurfaceView is being shown and a invoke Toast it does not appears on the screen. Why that?

Thanks! :)
andreleitao
Experienced Developer
Experienced Developer
 
Posts: 70
Joined: Tue Mar 10, 2009 9:56 pm
Location: Recife - Brazil

Top

Postby young » Thu Apr 09, 2009 7:43 am

add the finish() below the toast,and try again.
young
Developer
Developer
 
Posts: 26
Joined: Thu Apr 17, 2008 6:27 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 8 guests