I have a edit text in which the user enters amount. What I want to do is set a textview value before it that is not editable by the user like “INR” and then the user will enter the amount in front of it. I want edittext to look like the below one. How can I do that?

<EditText
android:id="@+id/Eamnt"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/button1"
android:layout_alignParentBottom="true"
android:layout_marginBottom="180dp"
android:ems="10"
android:inputType="numberDecimal"
Try to use RelativeLayout which contains a TextView and an EditText. I did something below, try it.