由网友(落荒而逃的王)分享简介:什么是限制了的EditText 的文本长度在Android上最好的方法是什么?What's the best way to limit the text length of an EditText in Android?有没有办法通过XML做到这一点?Is there a way to do this via x...
什么是限制了的EditText
的文本长度在Android上最好的方法是什么?
What's the best way to limit the text length of an EditText
in Android?
有没有办法通过XML做到这一点?
Is there a way to do this via xml?
推荐答案
的检查这里
android:maxLength="10"
相关推荐
最新文章