title: Android Shape Line
body: <p>I have the following code:</p>
  
  <pre><code>   &lt;shape xmlns:android="http://schemas.android.com/apk/res/android"
     android:shape="line"&gt;
     &lt;stroke android:width="1dp"/&gt;
     &lt;size android:height="1dp" /&gt;
     &lt;solid  android:color="#FFF"/&gt;
     &lt;/shape&gt;
  
  
     &lt;LinearLayout
       android:layout_width="fill_parent"
       android:layout_height="wrap_content"
       android:background ="@drawable/line"/&gt;
  </code></pre>
  
  <p>I have two questions:</p>
  
  <ol>
  <li>Why the line is black instead white? I have tried putting it inside a ImageView but the result is the same.</li>
  <li>How can i set the opacity of the shape?</li>
  </ol>