0

如何在 ANDROID 中设置仅允许正整数(如 0、1、2、3、4 等)的文本字段

4

1 回答 1

2

将此行放在 xml 中:

    android:inputType="numberSigned"
于 2012-04-23T11:36:27.187 回答