don't use this while writing your dialog box code............--->>>
dialog.setTitle("Title name");


On Mar 27, 12:32 am, Archit Jain <[email protected]> wrote:
> Hi all,
>
> Is there a way, I can remove title from the default dialog box ?
>
> I am using following code :
>
> Dialog alertDialog = new Dialog(getApplicationContext());
> alertDialog.setContentView(R.layout.info);
> alertDialog.setCancelable(true);
> alertDialog.show();
>
> But it shows a titlebar with no text in it. How can I avoid that?
>
> Regards,
> Archit

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to