title: Android v21 Theme.Appcompat color accent is ignored, no padding on dialogs
body: <p>I'm using <strong>ActionBarActivity</strong> from the Android 5 SDK and here is my <em>theme.xml</em> for v21</p>
  
  <pre><code>&lt;style name="AppTheme_Light" parent="Theme.AppCompat.Light.DarkActionBar"&gt;
      &lt;item name="android:colorPrimary"&gt;@color/abc1&lt;/item&gt;
      &lt;item name="android:colorPrimaryDark"&gt;@color/abc2&lt;/item&gt;
      &lt;item name="android:colorAccent"&gt;@color/abc3&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>But the colors are ignored, and are replaced by a default teal color and all the dialogs appear without padding.</p>
  
  <p><a href="https://i.stack.imgur.com/3Jqzc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3Jqzc.png" alt="Problem"></a>
  </p>
  
  <p>Also, padding is also ignored in other places like custom toast, problem only occurs in lollipop devices. </p>
  
  <p><strong>Edit:</strong></p>
  
  <p>The padding problem was due to <code>fitsSystemWindow</code> and I got it fixed using<br>
  <a href="https://stackoverflow.com/questions/26599805/android-alert-dialog-not-styled-properly-on-lollipop?rq=1">this question.</a>.</p>
  
  <p>But the accent color problem is still there, and it does not just affect dialogs but the whole app.</p>