title: Changing the color of a supportActionBar programmatically
body: <p>I'm having an issue where changing the background drawable of the support ActionBar changes the color of most of the bar but leaves the old color around the text and icons. I've tried changing the color of the support ActionBar and the ToolBar that I used to make it. I've tried many different ways of invalidating the UI elements. I've tired setting the color and text is different orders. I've tried hiding and showing the text. I just can't make it turn to one solid color.</p>
  
  <p><img src="https://i.stack.imgur.com/MAW7ml.png" alt="Should be all orange"></p>
  
  <p>Here's what I have for my ActionBar style:</p>
  
  <pre><code>&lt;style name="LocationBar" parent="ThemeOverlay.AppCompat.ActionBar"&gt;
      &lt;item name="android:textColorPrimary"&gt;@color/text_color_primary_inverse&lt;/item&gt;
      &lt;item name="android:textColorSecondary"&gt;@color/text_color_primary_inverse&lt;/item&gt;
      &lt;item name="android:background"&gt;@color/weather_cool&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>This is how I'm adding it to my activity:</p>
  
  <pre><code>&lt;android.support.v7.widget.Toolbar
      android:id="@+id/location_bar"
      android:layout_width="match_parent"
      android:layout_height="?attr/actionBarSize"
      android:theme="@style/LocationBar"/&gt;
  </code></pre>
  
  <p>This in the Java code I set it as the supportActionBar:</p>
  
  <pre><code>_locationBar = (Toolbar)findViewById(R.id.location_bar);
  setSupportActionBar(_locationBar);
  </code></pre>
  
  <p>Then after I fetch the weather I try to adjust the color like this:</p>
  
  <pre><code>ColorDrawable warmDrawable = new ColorDrawable(ContextCompat.getColor(this, R.color.weather_warm));
  getSupportActionBar().setBackgroundDrawable(warmDrawable);
  </code></pre>
  
  <p>Which results in what you see in the picture. Most of the bar changes color but not all of it.</p>