Maximum number of characters in EditText

Asked 1 years ago, Updated 1 years ago, 84 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.