Edit text is not expanding upto its background
<p><img src="http://i.stack.imgur.com/ViI36.png" alt="enter image description here">  I am using the following code in my xml,
  I want to give background to my edittext,the background image is around 400*190 pixels..
  Edittext is only occupying only one line and when on other part nothing is happening.</p>

<p>How to set my Edittext to occupy my background image,so that when I click on anypart of it,it should popup keyboard.</p>

<pre><code> &lt;RelativeLayout
    android:id="@+id/noteslayout"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginTop="5dp"
    android:layout_marginLeft="5dp"
    android:layout_marginRight="5dp" 
    android:background="@drawable/edittextnotes" &gt; 

    &lt;EditText
        android:layout_marginTop="5dp"
        android:layout_marginLeft="5dp"
        android:layout_marginRight="5dp"
        android:id="@+id/notes"         
        android:maxLines="5"
        android:capitalize="sentences"
        android:layout_width="250dp"
        android:layout_height="wrap_content"
        android:imeOptions="actionDone" /&gt;

&lt;/RelativeLayout&gt;
</code></pre>

<p>Thanks in advance</p>
