1

Edittext backgroud streches to fill the entire area

view story
linux-howto

http://stackoverflow.com – I have an edittext for which i want to set below backgroud but when i set this as backgroud it streches itself to fit in whole EditText like below image. and below is my code for xml file for editext <LinearLayout android:id="@+id/footer" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:visibility="visible" > <EditText android:id="@+id/comment" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_margin="10dp" android:lay (HowTos)