EditText Android developers of multi-line text input

<The EditText
Android: ID = "@ + ID / add_content"
Android: layout_width = "fill_parent,"
Android: layout_height = "the wrap_content"
Android: Enabled = "to true"
Android: Gravity = "Top" <- to set the cursor from! start position starts from the top row, otherwise the default is from the middle row ->
Android: the inputType = "textMultiLine"
Android: minHeight = "20dp"
Android: minHeight = ". 8"
Android: minlines = ". 8"
Android: maxLines = "10"
Android: scrollbars = "Vertical"
Android: background = "@ Android: the drawable / edit_text" <! To display the control edges - ->
>
</ the EditText>

refs: https://blog.csdn.net/qq_35867494/article/details/85275712

Guess you like

Origin www.cnblogs.com/bluestorm/p/11324892.html