On Android, EditText basically allows multiple lines.
<EditText
android:inputType="textMultiLine" <!--Set MultiLine for inputType -->
Android:lines="8" <!-- Make it look like 8 lines on the screen. -->
android:minLines="6" <!-- Minimum of 6 lines -->
android:maxLines="10" <!-- Up to 10 lines -->
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:scrollbars="vertical" <!--Set vertical scrollbar -->
/>
© 2024 OneMinuteCode. All rights reserved.