在xml布局文件中,EditText中属性android:inputType="numberDecimal",然后代码如下:
Android EditText监听只能输入2位小数
猜你喜欢
转载自blog.csdn.net/hai_jian/article/details/48550451
今日推荐
周排行