I want to place a TextView and an Editext in same line but it may looks like TextView is placing above EditText. I've tried all solutions on SO but it didn't work for me exactly.

Here is my code
<RelativeLayout
android:id="@+id/view2"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<TextView
android:id="@+id/from"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:background="#ffffff"
android:text="From"
android:textColor="#000fff"
android:textStyle="bold" />
<EditText
android:id="@+id/input"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:gravity="right"
android:inputType="number"
android:visibility="invisible" />
</RelativeLayout>
It places the EditText above TextView.