can you tell me what is the problem in my code
<p>Am using horizontal scrollview in relative layout.But am not getting correct alignment of the edittext and buttons,and even am not getting the scroll view too.Please tell me what is wrong in my code.</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/serviceslayout"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:layout_toRightOf="@id/layout1"
    android:background="#fff"&gt;

  &lt;HorizontalScrollView android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="#333333" android:scrollbarFadeDuration="0"&gt;

    &lt;RelativeLayout
       android:id="@+id/serviceslayout2"
       android:layout_width="fill_parent"
       android:layout_height="fill_parent"
       android:layout_toRightOf="@id/layout1"
       android:background="#fff"&gt;

       &lt;TextView android:layout_width="wrap_content" android:id="@+id/txtTieover" android:textColor="#000" android:layout_height="65px" android:text="tie-over" android:layout_below="@+id/txtQuantity2" android:layout_alignParentLeft="true" android:layout_marginLeft="21dp" android:layout_marginTop="13dp"&gt;&lt;/TextView&gt;

       &lt;TextView android:layout_width="wrap_content" android:id="@+id/txtQuantity2" android:textColor="#000" android:layout_height="wrap_content" android:text="Quantity" android:layout_alignParentTop="true" android:layout_centerInParent="true"     android:layout_toRightOf="@+id/txtTieover" android:layout_marginLeft="155dp" android:layout_marginTop="20dp" android:layout_gravity="center_horizontal"&gt;&lt;/TextView&gt;

       &lt;TextView android:layout_width="wrap_content" android:id="@+id/textView1" android:textColor="#000" android:layout_height="70px" android:text="insert" android:layout_below="@+id/txtTieover" android:layout_alignRight="@+id/txtTieover" android:layout_marginTop="1dp"&gt;&lt;/TextView&gt;

       &lt;TextView android:layout_width="wrap_content" android:id="@+id/textView2" android:textColor="#000" android:layout_height="55px" android:text="direct bury" android:layout_below="@+id/textView1" android:layout_toLeftOf="@+id/txtQuantity2" android:layout_marginTop="1dp"&gt;&lt;/TextView&gt;

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