title: Android 12 Splash Screen Icon Not Displaying
body: <p>I am seeing a weird issue with a new app that I am starting. I am utilizing the new Android 12 splash screen API to create my splash screen and I followed the <a href="https://developer.android.com/guide/topics/ui/splash-screen" rel="noreferrer">guide provided by Google</a> to do so. I included core-splashscreen in my project to provide compatibility with older versions of Android OS. When I run the app, I see the splash screen as expected on older OS versions like API 30, but when I run it on API 31, the splash screen icon that I provide is not displayed. The background color that I specify is displayed, but the icon is not there at all. I have tried this with a drawable asset as well as a mipmap and nothing is working. I am stumped as every tutorial I find shows the same steps I have followed and screenshots of their working splash screens, but I am not having any luck.</p>
  <p>For context here is my splash screen style definition for v31:</p>
  <pre><code>&lt;style name=&quot;Theme.Splash&quot; parent=&quot;Theme.SplashScreen&quot;&gt;
      &lt;item name=&quot;android:windowSplashScreenBackground&quot;&gt;@color/orange_7A&lt;/item&gt;
      &lt;item name=&quot;android:windowSplashScreenAnimatedIcon&quot;&gt;@drawable/splash_foreground&lt;/item&gt;
      &lt;item name=&quot;postSplashScreenTheme&quot;&gt;@style/Theme.App&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  <p>I have an identical style for all other OS versions except I'm using &quot;windowSplashScreenAnimatedIcon&quot; instead of &quot;android:windowSplashScreenAnimatedIcon&quot;. I have tried v31 with and without the &quot;android:&quot; in front of the item names and neither work. Here is my MainActivity.kt:</p>
  <pre><code>class MainActivity : AppCompatActivity() {
  
  override fun onCreate(savedInstanceState: Bundle?) {
      super.onCreate(savedInstanceState)
  
      installSplashScreen()
      
      setContent {
          MyVeevaTheme {
              Login()
          }
      }
  }
  </code></pre>
  <p>I am also setting the &quot;android:theme&quot; property to my splash style in my AndroidManifest.xml. I know the splash style is being applied because it honors the background color, but it is not showing the icon for some reason even though the icon shows fine for older OS versions. Thanks in advance for any help you can give.</p>