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


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


Leave a Reply