creating a drawable file to make a separator
<p>I'm using the following code to display a separator view in my activity:</p>

<pre><code>&lt;View
        android:id="@+id/view"
        android:layout_width="2dp"
        android:layout_height="wrap_content"
        android:layout_marginRight="15dp"
        android:layout_toLeftOf="@id/signoutbutton"
        android:background="@drawable/separator" /&gt;
</code></pre>

<p>My separator.xml file is as follows:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android" &gt;

&lt;item&gt;
    &lt;shape android:shape="rectangle" &gt;
        &lt;stroke
            android:height="54dp"
            android:width="1dp"
            android:color="#FFFFFF" /&gt;

        &lt;solid android:color="#FFFFFF" /&gt;
    &lt;/shape&gt;
&lt;/item&gt;
&lt;item&gt;
    &lt;shape android:shape="rectangle" &gt;
        &lt;stroke
            android:height="54dp"
            android:width="1dp"
            android:color="@color/blue" /&gt;

        &lt;solid android:color="@color/blue" /&gt;
    &lt;/shape&gt;
&lt;/item&gt;

&lt;/layer-list&gt;
</code></pre>

<p>however, I am achieving this   <img src="http://i.stack.imgur.com/PJgtz.png" alt="separator"></p>

<p>The problem is that only the blue color is shown and not the white as I had stated in the drawable file. How can I correct this?</p>
