It is requestWindowFeature (Window.FEATURE_NO_TITLE)
this snippet will do the trick...
@Override
protected Dialog onCreateDialog(int id) {
Dialog d = new Dialog(this);
d.requestWindowFeature(Window.FEATURE_NO_TITLE);
d.setTitle("You shouldn't see this");
// whatever else your dialog should be doing....
return d;
}
Balwinder Kaur
Mobile.Software.Development
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.
On Oct 18, 11:51 pm, Prabakar <[email protected]> wrote:
> Anyone please?
>
> --- On Mon, 10/19/09, Prabakar <[email protected]> wrote:
>
> From: Prabakar <[email protected]>
> Subject: [android-beginners] Dialogbox title doesn't allow other controls to
> go up
> To: [email protected]
> Date: Monday, October 19, 2009, 5:42 AM
>
> Hello All,
>
> I have developed a dialog box and put two controls there. One is Volume icon
> and the Close button. But both the controls are not showing completely top
> corners of dialog. I want both should be in top corners of Dialog box. Please
> see the attached image for reference.
> The problem now is, there is big space for Dialog box title. You can see the
> attached picture, which will show how the volume icon couldn't be able to go
> to top corner, instead struck at the big space(right side space) provided for
> dialogbox title, so it's getting hidden a bit.
> I want to remove this title space for dialog, so that i think i'll be able to
> put my two controls on top corners.
> I tried already tried this -> requestWindowFeature(Window.FEATURE_PROGRESS);
> but it is throwing error for dialogbox.
>
> Suggestions please?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---