EditText rows code example
Example: edittext few lines
android:lines="8"
android:minLines="6"
android:gravity="top|left"
android:maxLines="10"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:scrollbars="vertical"
/>