title: Custom seekbar with material design
body: <p>I've got a seekbar in a layout for a custom dialog preference. I changed my styles.xml to use the new material desing. It works because it change text and checkboxes of my settings but I can't apply the color to my seekbar. It works only if I put a seekbar in an activity, it means I have to do something in my custom layout but I don't know what. I post styles.xml and the layout with the seekbar:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources&gt;
  
      &lt;style name="AppBaseTheme" parent="android:Theme.Material"&gt;
  
          &lt;!-- Main theme colors --&gt;
          &lt;!-- your app's branding color (for the app bar) --&gt;
          &lt;item name="android:colorPrimary"&gt;#FFFF4444&lt;/item&gt;
          &lt;!-- darker variant of colorPrimary (for status bar, contextual app bars) --&gt;
          &lt;item name="android:colorPrimaryDark"&gt;#FFCC0000&lt;/item&gt;
          &lt;!-- theme UI controls like checkboxes and text fields --&gt;
          &lt;item name="android:colorAccent"&gt;#FFFF00&lt;/item&gt;
      &lt;/style&gt;
  
      &lt;!-- Application theme. --&gt;
      &lt;style name="AppTheme" parent="AppBaseTheme"&gt;
      &lt;/style&gt;
  
  &lt;/resources&gt;
  </code></pre>
  
  <p>custom layout for dialog preference:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical" &gt;
  
      &lt;SeekBar
          android:id="@+id/seek_bar"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_marginBottom="6dip"
          android:theme="@android:style/Theme.Material"
          android:layout_marginTop="6dip" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>