Use: requestWindowFeature(Window.FEATURE_NO_TITLE);

On Sat, Mar 26, 2011 at 10:03 PM, Dixi <[email protected]> wrote:

> 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
>



-- 
~ Jeremiah:9:23-24
Android 2D MMORPG: http://solrpg.com/ http://www.youtube.com/user/revoltingx

-- 
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