Home > Mobile >  How android edittext manual newline, urgent
How android edittext manual newline, urgent

Time:10-13

How android edittext manual line breaks, is rolling up and down or so edittext, hurry hurry hurry

CodePudding user response:

Into the android: id="@ + id/editSms"
Android: layout_width="fill_parent"
Android: layout_height="wrap_content"
Android: hint="@ string/saveSms"
Android: inputType="textMultiLine"
The android: gravity="left | top"
Android: minLines="6"/& gt;

CodePudding user response:

No, I really machine or automatic line feed, I want to manual line breaks

CodePudding user response:

Set a ScrollView, et wrap the width of the height