Make an Android activity fullscreen

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>