[Solved] Remove statusbar - or how to make a fullscreen app?

Put your problem here if it does not fit any of the other categories.

[Solved] Remove statusbar - or how to make a fullscreen app?

Postby windkiosk » Tue Mar 11, 2008 11:57 am

The heading bar is very annoyed.
How can I remove it, or draw a fullscreen image?

Thanks.
windkiosk
Freshman
Freshman
 
Posts: 5
Joined: Fri Mar 07, 2008 2:03 am

Top

Postby windkiosk » Tue Mar 11, 2008 12:27 pm

Sorry for boring...

I found the topic from plusminus who help me several times.
http://www.anddev.org/how_to_disabled-h ... t1237.html
windkiosk
Freshman
Freshman
 
Posts: 5
Joined: Fri Mar 07, 2008 2:03 am

Postby tabrej.khan » Sun Dec 07, 2008 11:17 am

Following works fine with SDK 1.0 I tested it.... its working fine:

public void setFullscreen() {
requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
}

public void setNoTitle() {
requestWindowFeature(Window.FEATURE_NO_TITLE);
}

http://www.anddev.org/solved_how_to_dra ... -t244.html
User avatar
tabrej.khan
Freshman
Freshman
 
Posts: 8
Joined: Wed Jul 16, 2008 6:16 am
Location: Bangalore, Karnataka

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 13 guests