Android EditText输入框框只能为数字

android:inputType="number"
android:digits="0123456789."

猜你喜欢

转载自blog.csdn.net/qq_41630695/article/details/109892381