I have been having some trouble. I have created an EditText field that should only receive numbers, but the virtual keypad always comes up in QWERTY mode (shifted to numbers) with the numbers across the top. A 10-key pad would be much more convenient.
Googling around, I found various properties I could give the EditText that should call the virtual 10-Key, (android:numeric="decimal", or android:inputType="numberDecimal") and they work on the virtual android device that Eclipse launches, but when I move the app to my Motorola Droid, I still get the QWERTY.
Here is a sample of one of my EditText fields. Can anyone help me out?
Googling around, I found various properties I could give the EditText that should call the virtual 10-Key, (android:numeric="decimal", or android:inputType="numberDecimal") and they work on the virtual android device that Eclipse launches, but when I move the app to my Motorola Droid, I still get the QWERTY.
Here is a sample of one of my EditText fields. Can anyone help me out?
<EditText
android:id="@+id/txtOunceI"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:numeric="decimal"
android:inputType="numberDecimal"
android:layout_column="0"
android:layout_span="1"/>