I have EditText field with android:numeric=”decimal” and android:inputType=”phone” for entering decimal numbers. I use input type phone because it is more easy to user enter numbers.
For any device with soft keyboard I haven’t any problem but when I begin use hard keyboard when will print wrong numbers (for example when I use HTC Desire Z).
How to solve this problem?
P.S. I developed the “Simple Loan Calculator” for Android – it’s opensource and freeware
Solved!
AndroidManifest.xml
MainActivity.java
PriceInputFilter.java