You mean a Toast?
They can be done in one line of code:
Using java Syntax Highlighting
Toast.makeText("MyTag", "This is the text that will display").show();
Parsed in 0.016 seconds, using GeSHi
Note, however, that a Toast must be performed from the UI thread, thus in order to make a Toast from another thread, you need to use a Handler.