Android, как сделать текст в тексте редактирования точно фиксированными строками
Я хочу разрешить использовать, чтобы ввести только 5 строк, я попробовал это
<EditText
android:layout_below="@+id/tv_signup_descriptionError"
android:id="@+id/et_signup_description"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dip"
android:hint="@string/et_hint_enterDescription"
android:singleLine="false"
android:lines="5"
android:gravity="top"
android:scrollHorizontally="false"
android:inputType="textMultiLine"
android:maxLines="5"/>
но все же я могу нажатьEnter
после пятой строчки