1

EditText behaving multiline feature

view story
linux-howto

http://stackoverflow.com – I have an Edittext Code is:: <EditText android:id="@+id/CITY_ID" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="10dp" android:background="@drawable/rounded_edittext" /> BUT when I add many characters ... it goes many lines as below: How to prevent this so that input is accepted in one single line .... even if the input is verry long? (HowTos)