Make an Android activity fullscreen


2012-01-22

To make an Android activity fullscreen, simply add the following line to the activity tag of the desired activity in the Android Manifest file:

android:theme="@android:style/Theme.NoTitleBar.Fullscreen"

So an example would look like this:

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