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

By admin-powenko

Dr. Powen Ko is a teacher and CEO on LoopTek LLC, and like to teaching. if you need to class, please let PowenKo know, he will love to service and sharing. LoopTek web site is www.looptek.com

Leave a Reply