title: set shape background to transparent in android
body: <p>I have a shape drawable that I want to use as a background. I want the shape to be transparent. But so far it's not. How do I do that? Here is what I have:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;shape xmlns:android="http://schemas.android.com/apk/res/android"
      android:padding="10dp"
      android:shape="rectangle" &gt;
  
      &lt;solid android:color="#80000000" /&gt;
  
      &lt;stroke
          android:width="1dip"
          android:color="#000000" /&gt;
  
      &lt;corners android:radius="10dp" /&gt;
  
  &lt;/shape&gt;
  </code></pre>
  
  <p>I expected the line <code>&lt;solid android:color="#80000000" /&gt;</code> to do the trick.</p>
  
  <p>EDIT:</p>
  
  <p>In manifest, I set <code>android:theme="@android:style/Theme.Dialog"</code>. Could that be the cause of the problem? I am basically trying to get this view on top of another. Changing to 00 or FF or whatever else does not work.</p>