If you use this.requestWindowFeature(Window.FEATURE_NO_TITLE)
user will still be able to see the title bar just for a moment during launch animation when activity starts through onCreate
. If you use @android:style/Theme.Black.NoTitleBar
as shown below then title bar won't be shown during launch animation.
<activity
android:name=".MainActivity"
android:label="My App"
android:theme="@android:style/Theme.Black.NoTitleBar"
android:screenOrientation="portrait">
above example will obviously override your existing application theme, if you have existing theme then add <item name="android:windowNoTitle">true</item>
to it.