title: What theme attributes do I need to override to change the blue highlight color of my dialogs?
body: <p>I have a theme called "greenhighlight" &mdash; this theme was generated using the <a href="http://jgilfelt.github.com/android-actionbarstylegenerator/" rel="noreferrer">Android Action Bar Style Generator</a>, and inherits from the default ActionBarSherlock theme. The theme does nothing except change the highlight at the bottom of the ActionBar from blue to green.</p>
  
  <p>To theme all my activities, I just do:</p>
  
  <pre><code>&lt;application android:theme="@style/Theme.greenhighlight"...
  </code></pre>
  
  <p>This works pretty well for activities (note the green highlight on the bottom of the ActionBar):</p>
  
  <p><img src="https://i.stack.imgur.com/IFjqz.png" alt="themed Android activity"></p>
  
  <p>However, I'm having difficulty theming my dialogs to match my activities:</p>
  
  <p><img src="https://i.stack.imgur.com/4U1km.png" alt="default theme Android list dialog"></p>
  
  <p><img src="https://i.stack.imgur.com/Echvr.png" alt="default theme Android progress dialog"></p>
  
  <p>My "greenhighlight_Dialog" theme is defined as:</p>
  
  <pre><code>&lt;style name="greenhighlight_Dialog" parent="@style/Theme.Sherlock.Dialog"&gt;
      &lt;item name="android:progressBarStyleHorizontal"&gt;
          @style/greenhighlight_ProgressBar
      &lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>I'm inheriting from the default Sherlock dialog theme, and overriding the progress bar using the progress bar style as defined by my generated "greenhighlight" theme &mdash; you can see that the progress bar is the correct shade of green in the screenshot above.</p>
  
  <p>To use the theme, I'm running the following code:</p>
  
  <pre><code>ContextThemeWrapper ctw = 
      new ContextThemeWrapper(this, R.style.greenhighlight_Dialog);
  AlertDialog.Builder builder = new AlertDialog.Builder(ctw);
  ...
  ProgressDialog pd = new ProgressDialog(this, R.style.greenhighlight_Dialog);
  ...
  </code></pre>
  
  <p>My problem is that I have no idea what attributes I need to override. I've been looking through <a href="https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/res/res/values/styles.xml" rel="noreferrer">styles.xml</a> and <a href="https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/res/res/values/themes.xml" rel="noreferrer">themes.xml</a> as recommended by the <a href="http://developer.android.com/guide/topics/ui/themes.html" rel="noreferrer">Styles and Themes</a> doco (which notes that "the R.style reference, however, is not well documented and does not thoroughly describe the styles") &mdash; but there are a lot of styles defined on Theme.Dialog and I'm unsure as to which ones I need to override to get the change I want.</p>
  
  <p>What attributes to I need to override for my dialogs to have green title text, a green highlight bar underneath the title and green check marks for checked list items?</p>