title: Android ShapeDrawable stroke is blurred
body: <p>I created a rather simple shapedrawable with semi-transparent borders, and used it as a background for two adjacent view.</p>
  
  <p>Either if the srtoke color is partially transparent, I'm expecting a solid stroke (like the image on the right), but what I get is a blurred stroke (image on the left).</p>
  
  <p>What I'm doing wrong?</p>
  
  <p><img src="https://i.stack.imgur.com/G1Jf2.png" alt="actual vs expected"></p>
  
  <p>(images are taken from the ADT preview, in the emulator the effect is even more visible)</p>
  
  <p>This is the ShapeDrawable (<code>theme_base_bg_framed.xml</code>):</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;shape xmlns:android="http://schemas.android.com/apk/res/android"
      android:shape="rectangle"&gt;
      &lt;solid
          android:color="@color/base_frame_solid_color"
          /&gt;
      &lt;stroke
          android:width="@dimen/frame_border_size"
          android:color="@color/base_frame_border_color"
          /&gt;
      &lt;padding
          android:left="@dimen/frame_padding_size"
          android:top="@dimen/frame_padding_size"
          android:right="@dimen/frame_padding_size"
          android:bottom="@dimen/frame_padding_size"
          /&gt;
  &lt;/shape&gt;
  </code></pre>
  
  <p>It uses these color and dimen definitions:</p>
  
  <pre><code>&lt;color name="base_frame_solid_color"&gt;#20ffffff&lt;/color&gt;
  &lt;color name="base_frame_border_color"&gt;#40ffffff&lt;/color&gt;
  
  &lt;dimen name="frame_border_size"&gt;2dp&lt;/dimen&gt;
  &lt;dimen name="frame_padding_size"&gt;2dp&lt;/dimen&gt;
  </code></pre>
  
  <p>Both drawables are assigned to the <code>View</code>s background</p>
  
  <pre><code>&lt;style name="ViewWithBorder"&gt;
      &lt;item name="android:background"&gt;@drawable/theme_base_bg_framed&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>Edit:</p>
  
  <p>The colors used in the ShapeDrawable are alphaed for a reason. The view in the background is going to contain other views and/or images. This is a better example of what I get (left) and what I'm expecting to get (right).</p>
  
  <p><img src="https://i.stack.imgur.com/kSER5.png" alt="enter image description here"></p>