title: how to set the background color of the status bar during the launching phase
body: <p>Before my app was with android:targetSdkVersion="14" but i decide to make it a little more modern and update it to android:targetSdkVersion="22". However now i have a little problem, the color of the top status bar during the launch phase is now gray (like on the picture) and i would prefer to have it black (like it's was before). </p>
  
  <p><a href="https://i.stack.imgur.com/o3Qnf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/o3Qnf.png" alt="enter image description here"></a></p>
  
  <p>Any idea what i need to do to have my status bar black again during the launch phase ?</p>
  
  <p><strong>NOTE</strong></p>
  
  <p>I would like to change the color of the statusbar via the styles.xml. actually i try to add</p>
  
  <pre><code>&lt;item name="android:colorPrimaryDark"&gt;@android:color/black&lt;/item&gt;
  </code></pre>
  
  <p>or</p>
  
  <pre><code>&lt;item name="android:statusBarColor"&gt;@android:color/black&lt;/item&gt;
  </code></pre>
  
  <p>didn't help! this question is not a duplicate of other because i can set the StatusBar color to be black without any problem after the app is launched or fully loaded. I need to setup the black background for the statusbar during the <strong>launching phase</strong>, i mean when user click on the icon of the app their is something like a launch screen (with a define to be black via <code>&lt;item name="android:windowBackground"&gt;@android:color/black&lt;/item&gt;</code>) but the statusbar color of this launch sreen is gray (only if android:targetSdkVersion="22")</p>