Being new to Android Development (c# OOP dev 10+)
I ran into a slight snag (2.3.3) I don't know how to address. I have an <EditText.../>
that has two parameters that cancel each other out.
What I mean is that as an Android user I really appreciate when people use tags such as android:inputType="numberDecimal" for an input field where they expect numbers. This saves me from
having to flip from ABC to 123 keyboard while trying to complete a field. However the problem comes in when trying to use the android:hint="Hint Text"
. The hint text won't display if the field has been determined to be a numeric as defined by the android:inputtype
.
So I was looking for input on how best to resolve this problem. My thoughts are have a label above the input field...this would standout as the rest of the app uses hint's. I could forgo a hint but not really a good idea as the user would be lost as to what info goes in the field. My third and best thought is to define the inputtype as text then handle the onFocus event and switch it to numeric.
Any other suggestions welcome. JB