title: Buttonstyle - Dimension types not allowed
body: <p>I have styled a button, as follows, but got several error messages.</p>
  
  <pre><code>    android:background="@drawable/buttonshape"
      android:shadowColor="#A8A8A8"
      android:shadowDx="0dp"
      android:shadowDy="0dp"
      android:shadowRadius="5dp"
  </code></pre>
  
  <blockquote>
    <p>Dimension types not allowed (at 'shadowDy' with value '0dp').
    Dimension types not allowed (at 'shadowRadius' with value '5dp').
    Dimension types not allowed (at 'shadowDx' with value '0dp').</p>
  </blockquote>
  
  <pre><code>buttonshape.xml
  
  &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;corners
          android:radius="14dp"
          /&gt;
      &lt;gradient
          android:angle="45"
          android:centerX="35%"
          android:centerColor="#198CFF"
          android:startColor="#449DEF"
          android:endColor="#2F6699"
          android:type="linear"
          /&gt;
      &lt;padding
          android:left="0dp"
          android:top="0dp"
          android:right="0dp"
          android:bottom="0dp"
          /&gt;
      &lt;stroke
          android:width="1dp"
          android:color="#878787"
          /&gt;
  &lt;/shape&gt; 
  </code></pre>