On Sat, Mar 26, 2011 at 2:32 PM, Archit Jain <dce.arc...@gmail.com> wrote:
> Dialog alertDialog = new Dialog(getApplicationContext()); > Never use getApplicationContext() - it's pointless and doesn't work for Dialogs. I'm surprised you're seeing anything. But it shows a titlebar with no text in it. How can I avoid that? > If you don't specify a title, none will be shown. I do this *a lot*. ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en