title: Android different button styles depending on API level
body: <p>I want to use the</p>
  
  <pre><code>style="?android:attr/borderlessButtonStyle"
  </code></pre>
  
  <p>for my buttons. This requires min. API level 11. I want my app to be min API level 9. So I used the styles tag in the default layout folder and createt the folders res/layout-v9 and res/layout-v10 with the same xml-files as in the default layout folder - except for the style tag. I still get the minimum API level 11 error for the xml file in layout folder.</p>
  
  <p>How can I avoid the error and apply the style-tag for API level >= 11 but not for API level &lt; 11?</p>