title: Android Button Bar in Holo
body: <p>I am creating an Android app that uses the Holo theme when available and falls back to the black theme when it isn't available. I am accomplishing this by using the <code>values</code>, <code>values-v11</code>, and <code>values-14</code> folders. </p>
  
  <p>I have an activity that I would like to use the <code>?android:attr/buttonBarStyle</code> and <code>?android:attr/buttonBarButtonStyle</code> styles but I am unsure how to fall back to a different style when they are not available (such as <code>@android:style/ButtonBar</code>). Here is my layout for reference.</p>
  
  <pre><code>&lt;LinearLayout
      android:id="@+id/buttonArea"
      style="?android:attr/buttonBarStyle"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:layout_alignParentBottom="true"
      android:gravity="bottom|right"
      android:orientation="horizontal" &gt;
  
      &lt;Button
          android:id="@+id/button1"
          style="?android:attr/buttonBarButtonStyle"
          android:layout_width="0dp"
          android:layout_height="wrap_content"
          android:layout_weight="1"
          android:text="Button One" /&gt;
  
      &lt;Button
          android:id="@+id/button2"
          style="?android:attr/buttonBarButtonStyle"
          android:layout_width="0dp"
          android:layout_height="wrap_content"
          android:layout_weight="1"
          android:text="Button Two" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>