title: Change Status Bar Colour in Chrome Custom Tabs
body: <p>I am using Chrome Custom Tabs to display web content in my app. Obviously one of the main advantages of this is the ability to change UI colours in the tab. However, I need to change the status bar colour to something other than a darker version of the primary colour I provide.</p>
  
  <p>Is there anyway to do this?</p>
  
  <p>For reference, here is my code as it stands.</p>
  
  <pre><code>CustomTabsIntent.Builder builder = new CustomTabsIntent.Builder();
  builder.setToolbarColor(getResources().getColor(R.color.colorPrimary));
  builder.setSecondaryToolbarColor(getResources().getColor(R.color.colorPrimary));
  CustomTabsIntent customTabsIntent = builder.build();
  customTabsIntent.launchUrl(MainActivity.this, Uri.parse(url));
  </code></pre>
  
  <p>As you can probably guess, I want to change the status bar colour to <code>R.color.colorPrimary</code> rather than the automatically selected colour.</p>
  
  <p>Any help is greatly appreciated</p>