How to remove the title or "Application Name" bar

To remove the bar that appears at the top of your activity, modify your AndroidManifest.xml document.  Foreach activity, add the line:

android:theme="@android:style/ThemeNoTitleBar.Fullscreen"

Making the result look like:

<activity android:name=".MainActivity"
          android:label="@string/app_name"
          android:theme="@android:style/Theme.NoTitleBar.Fullscreen">

Leave a Reply

Your email address will not be published. Required fields are marked *