Tutorial 021-1, UI,Remove Title Bar on Android Application

August 15, 2011   ·   0 Comments

Remove Title Bar on Android Application

This one’s real simple. If you want to get rid of the title bar in an Android application, you can do it programmatically with:

requestWindowFeature(Window.FEATURE_NO_TITLE);

or in the manifest for your entire application inside the ‘activity’ element with

android:theme="@android:style/Theme.NoTitleBar"
getWindow().setFlags(WindowManager.LayoutParams.NO_STATUS_BAR_FLAG,
                   WindowManager.LayoutParams.NO_STATUS_BAR_FLAG);

shareShare on FacebookShare on Google+Share on LinkedInEmail this to someonePrint this pageBuffer this pageDigg thisFlattr the authorShare on RedditPin on PinterestShare on StumbleUponShare on TumblrTweet about this on Twitter

By


Readers Comments (0)


You must be logged in to post a comment.

PowenKo’s Online Store

powenko_arduinoBook
Android7

Amazon

adsbygoogle

Recent Posts

Categories

Amazon