title: Styling of AlertDialog buttons
body: <p>In my application I use holoeverywhere. I would like to change the appearance of  AlertDialog and I got stuck on buttons below alert dialog. I took a look how things were done in holoeverywhere and I tried to modify that.
  Here is backtracking of my reasoning:</p>
  
  <p>In theme there are atributes which define <em>alertDialogTheme</em> and some other stuff. We will come back later to <em>selectableItemBackground</em> also.</p>
  
  <pre><code>&lt;style name="Holo.Base.Theme" parent="Theme.AppCompat"&gt;
      ...
      &lt;item name="alertDialogTheme"&gt;@style/Holo.Theme.Dialog.Alert&lt;/item&gt;
      ...
      &lt;item name="buttonBarButtonStyle"&gt;?borderlessButtonStyle&lt;/item&gt;
      ...
      &lt;item name="selectableItemBackground"&gt;@drawable/item_background_holo_dark&lt;/item&gt; *
      ...
  &lt;/sytle&gt;
  </code></pre>
  
  <p>So i figure <em>alertDialogStyle</em> is my target which is further defined in styles:</p>
  
  <pre><code>&lt;style name="Holo.Base.Theme.Dialog" parent="Holo.Theme"&gt;
      &lt;item name="android:colorBackgroundCacheHint"&gt;@null&lt;/item&gt;
      &lt;item name="android:windowAnimationStyle"&gt;@style/Holo.Animation.Dialog&lt;/item&gt;
      &lt;item name="android:windowBackground"&gt;@drawable/dialog_full_holo_dark&lt;/item&gt;
      &lt;item name="android:windowContentOverlay"&gt;@null&lt;/item&gt;
      &lt;item name="android:windowFrame"&gt;@null&lt;/item&gt;
      &lt;item name="android:windowIsFloating"&gt;true&lt;/item&gt;
      &lt;item name="android:windowSoftInputMode"&gt;stateUnspecified|adjustPan&lt;/item&gt;
      &lt;item name="android:windowTitleStyle"&gt;@style/Holo.DialogWindowTitle&lt;/item&gt;
      &lt;item name="borderlessButtonStyle"&gt;@style/Holo.Button.Borderless.Small&lt;/item&gt;
      &lt;item name="buttonBarStyle"&gt;@style/Holo.ButtonBar.AlertDialog&lt;/item&gt;
      &lt;item name="listPreferredItemPaddingLeft"&gt;16dip&lt;/item&gt;
      &lt;item name="listPreferredItemPaddingRight"&gt;16dip&lt;/item&gt;
      &lt;item name="windowActionBar"&gt;false&lt;/item&gt;
      &lt;item name="windowActionModeOverlay"&gt;true&lt;/item&gt;
      &lt;item name="windowAnimationStyle"&gt;@style/Holo.Animation.Dialog&lt;/item&gt;
      &lt;item name="windowContentOverlay"&gt;@null&lt;/item&gt;
      &lt;item name="windowMinWidthMajor"&gt;@dimen/dialog_min_width_major&lt;/item&gt;
      &lt;item name="windowMinWidthMinor"&gt;@dimen/dialog_min_width_minor&lt;/item&gt;
      &lt;item name="windowNoTitle"&gt;true&lt;/item&gt;
  &lt;/style&gt;
  
  &lt;style name="Holo.Theme.Dialog" parent="Holo.Base.Theme.Dialog" &gt;
  &lt;/style&gt;
  
  &lt;style name="Holo.Theme.Dialog.Alert" parent="Holo.Theme.Dialog"&gt;
      &lt;item name="alertDialogStyle"&gt;@style/Holo.AlertDialog&lt;/item&gt;
      &lt;item name="alertDialogTitleDividerColor"&gt;@color/holo_blue_light&lt;/item&gt;
      &lt;item name="android:windowBackground"&gt;@android:color/transparent&lt;/item&gt;
  &lt;/style&gt;
  
  &lt;style name="Holo.Button.Borderless" parent="Holo.Button"&gt;
      &lt;item name="android:background"&gt;?selectableItemBackground&lt;/item&gt;
      &lt;item name="android:paddingLeft"&gt;4dip&lt;/item&gt;
      &lt;item name="android:paddingRight"&gt;4dip&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>So Holo.Theme.Dialog.Alert is inherited from Holo:base.Theme.Dialog which has an atribute for <em>borderlessButtonStyle</em>, which I guess defines the buttons of alert dialog.
  Style Holo.Button.Borderless referes the atribute <em>selectableItemBackground</em> for its background. Atribute is set in application theme itself. So, my reasoning is if I inherit from theme Holo.theme and set <em>selectableBackground</em> atribut my change should reflect in customized alert dialog buttons and everything else where this background is used.</p>
  
  <pre><code>&lt;style name="ThemeCustom" parent="@style/Holo.Theme&gt;
  … 
  &lt;item name="selectableItemBackground"&gt;@drawable/custom_item_background &lt;/item&gt;
  …
  &lt;/style&gt;
  </code></pre>
  
  <p>But this does not work. No change is visible in alert dialog buttons. Is there something wrong with my reasoning?</p>