有一个EditText要输入小数,但是没有合适的软件盘
etInProName.setInputType(InputType.TYPE_CLASS_NUMBER);
设置这个只有数字但是没有小数点,请问此问题如何解决较好,请有经验的老兄帮帮忙阿
etInProName.setInputType(InputType.TYPE_CLASS_NUMBER);
设置这个只有数字但是没有小数点,请问此问题如何解决较好,请有经验的老兄帮帮忙阿
<EditText
android:id="@+id/EditText01"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="Look,"
android:digits="1234567890."
/>