title: Android Splashscreen not displaying
body: <p>I am trying to implement a splashscreen into my app.
  Unfortunately, nothing appears with the code I am using now, it just jumps straight into my first activity.
  Here is the code from my launch_screen.xml file, which is in my drawable folder:</p>
  
  <pre><code>    &lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android" android:opacity="opaque"&gt;
  
          &lt;item android:drawable="@android:color/white"/&gt;
  
          &lt;item
              android:drawable="@drawable/ic_splashscreen2"
              android:gravity="center"
          /&gt;
  
      &lt;/layer-list&gt;
  </code></pre>
  
  <p>Note that the drawable file is a vector asset.</p>
  
  <p>And here is the code from my styles.xml file, where I create a new theme using this launch_screen.xml file:</p>
  
  <pre><code>       &lt;style name="AppTheme.Launcher"&gt;
      &lt;item name="android:windowBackground"&gt;@drawable/launch_screen&lt;/item&gt;
  </code></pre>
  
  <p>Code from my manifest:</p>
  
  <pre><code>&lt;activity android:name=".ViewEventsActivity"
              android:theme="@style/AppTheme.Launcher"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN"
                  /&gt;
  
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
          &lt;/activity&gt;
  </code></pre>
  
  <p>Could anyone tell me what I'm doing wrong and how to fix this?</p>