title: First start - custom windowBackground splash color
body: <p>I'm using the <code>windowBackground</code> splash screen approach (I want the first visible impression to fit my apps theme) AND I allow to use custom themes in my app, so the window background can be changed I can't set a theme in my app with the correct <code>windowBackground</code> because the user can change this theme.</p>
  
  <p>When opening my app, I will always see the default windowBackground color, coming from my light theme, the one I set in the manifest. My manifest looks like following:</p>
  
  <pre><code>&lt;application
      android:theme="@style/AppThemeLight" &gt;
  
      &lt;activity
          android:name=".activities.mvp.MainActivity"
          android:label="@string/app_name"&gt;
      &lt;/activity&gt;
  &lt;/application&gt;
  </code></pre>
  
  <p>In my activity, I overwrite the theme like following:</p>
  
  <pre><code>@Override
  public void onCreate(Bundle savedInstanceState)
  {
      setTheme(...); // setting user selected theme, AppThemeLight or AppThemeDark
      super.onCreate(savedInstanceState);
  }
  </code></pre>
  
  <p>When starting the app, I ALWAYS see the light splash screen comming from my "AppThemeLight", even if using <code>setTheme(R.style.AppThemeDark)</code> when creating the activity...</p>
  
  <p>Can I somehow change the main theme of my application in code? Or any other trick to get this working correctly?</p>