title: Best way to handle shape drawable differences Android 2.3.5 vs 4.0
body: <p>I'm trying to have a shape drawable with this shape:</p>
  
  <p><img src="https://i.stack.imgur.com/Coy3J.png" alt="enter image description here"></p>
  
  <p>This works properly in 1.6 to 2.3.5 when using the following:</p>
  
  <pre><code>&lt;shape xmlns:android="http://schemas.android.com/apk/res/android" 
   android:shape="rectangle"&gt; 
  &lt;solid android:color="#cc6900"/&gt;
  
  &lt;corners android:radius="0.1dp" android:bottomRightRadius="7dp" android:bottomLeftRadius="0dp"
   android:topLeftRadius="0dp" android:topRightRadius="7dp"/&gt; 
  </code></pre>
  
  <p></p>
  
  <p>However, when running it on a Galaxy Nexus, or a 4.0 Emulator, I have to use this to get the same layout:</p>
  
  <pre><code>...
  &lt;corners android:radius="0.1dp" android:bottomRightRadius="0dp" android:bottomLeftRadius="7dp"
   android:topLeftRadius="0dp" android:topRightRadius="7dp"/&gt; 
  ...
  </code></pre>
  
  <p>Which gives me this on 1.6:</p>
  
  <p><img src="https://i.stack.imgur.com/jkLNe.png" alt="enter image description here"></p>
  
  <p>So basically, previous versions has all used bottomRight and bottomLeft in one way, and now 4.0 does it in another.</p>
  
  <p>Is there any easy way that I can have it be like it is for pre 4.0, and give 4.0 users the changed values? If possible, I'd prefer if I could keep it in XML and not have it in code.</p>