Maximum number of characters in EditText

Asked 2 years ago, Updated 2 years ago, 97 views

How do I specify the maximum number of characters in EditText on Android? Can't you do that?

android android-edittext

2022-09-22 13:54

1 Answers

Write android:maxLength="10" in the properties of xml.

...


2022-09-22 13:54

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.