Set max length on number input to prevent breaking the app
This commit is contained in:
parent
f995df3564
commit
33ee1704ec
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:inputType="number"
|
||||
android:maxLength="3"
|
||||
android:id="@+id/guessInput"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"
|
||||
|
|
Loading…
Reference in a new issue