When creating an application in Android Studio I want to make a screensaver (image). When you start the application, this picture should appear, hangs for a few seconds (or the application download is displayed), and then the next activity starts. But the problem is that the panel with the name of the application is always visible from the top (toolbar, action bar or as it is correctly called). And I want it to be displayed on the whole screen. I tried to choose different topics, but nothing helped. I'm testing on a physical device (android 5.1). I am writing API code 15.

    2 answers 2

    Here is not a big example. Add a Splash Activit link to your manifest.

    <activity android:name=".SplashActivity" android:screenOrientation="portrait" android:theme="@style/Splash"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> 

    The above activity has a link to the next topic.

      <style name="Splash" parent="Theme.AppCompat.NoActionBar"> <item name="android:windowBackground">@color/colorPrimary</item> </style> 

      In the manifesto of the activation list this attribute should help:

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