What is the mistake in my code
<p>I would like to have a Text plus image button in a row. if i add image button, and pro-grammatically align towards right side, still i will be able to see the background color of theme in my phone.</p>

<p>Here is the code</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;TabHost xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@android:id/tabhost"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"&gt;
&lt;LinearLayout
        android:orientation="vertical"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:padding="0dp"&gt;

     &lt;TabWidget
            android:id="@android:id/tabs"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content" /&gt;


     &lt;RelativeLayout
         android:layout_width="fill_parent"
         android:layout_height="wrap_content"
         android:orientation="horizontal" 
         android:background="#041A37"&gt;
&lt;TextView
    android:id="@+id/list_item_text"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_gravity="left"
    android:ellipsize="end"
    android:text="All contact list" /&gt;


&lt;ImageButton
    android:id="@+id/Contact_icon"
    android:layout_width="45dip"
    android:layout_height="50dip"
    android:layout_alignParentRight="true"
    android:layout_alignParentTop="true"
    android:src="@drawable/ic_launcher" /&gt;


&lt;AutoCompleteTextView
    android:id="@+id/autoCompleteTextView1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignParentLeft="true"
    android:layout_alignParentTop="true"
    android:layout_toLeftOf="@+id/Contact_icon"
    android:ems="10"
    android:text="AutoCompleteTextView"
    android:visibility="invisible" &gt;
    &lt;requestFocus /&gt;
&lt;/AutoCompleteTextView&gt;

    &lt;/RelativeLayout&gt;

            &lt;FrameLayout
            android:id="@android:id/tabcontent"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:padding="0dp" /&gt;
    &lt;/LinearLayout&gt;
&lt;/TabHost&gt;
</code></pre>

<p><img src="http://i.stack.imgur.com/rytSG.jpg" alt=""></p>

<p>Here how the image looks, i want that button to cover the blue color border too.</p>
