call this before Activity.setContentView() .

requestWindowFeature(Window.FEATURE_NO_TITLE);


2011/11/25 Naveen <[email protected]>:
> Hello All,
>
> I do not want title bar so coded
> this.requestWindowFeature(Window.FEATURE_NO_TITLE);  but when using
> this below code then this title bar code not works it's showing title
> header .....
>
>
>  @Override
>    public void onAttachedToWindow() {
>
> this.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD);
>
>
>        super.onAttachedToWindow();
>    }
>
> But in create i have already coded
>
>  getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
>                        WindowManager.LayoutParams.FLAG_FULLSCREEN);
>
> --
> 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

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