title: Android Change StatusBarColor of Trusted Web Activity
body: <p>I build based on this <a href="https://github.com/GoogleChromeLabs/svgomg-twa" rel="nofollow noreferrer">repository</a> my first TWA / PWA App. Everything is working fine, but i can´t change the color of the statusbar.</p>
  
  <p>I modify this <a href="https://github.com/GoogleChromeLabs/svgomg-twa/blob/master/app/src/main/res/values/styles.xml" rel="nofollow noreferrer">file</a> and add this line in the <code>&lt;style&gt;</code> tag:</p>
  
  <p><code>&lt;item name="android:statusBarColor"&gt;@color/ic_launcher_background&lt;/item&gt;</code></p>
  
  <p>The thing is... it works on the first init of the App well... But 500ms after first init it starts the webview and the statusBarColor is white again.</p>
  
  <p>Any idea how i can fix this?</p>