Hello,

I'm using an EditText field to enter decimal numbers. To ensure that
only digits and the decimal sign is entered, I set "InputType"
parameter as shown below:

<EditText
  android:id="@+id/txt_amount"
  android:layout_width="fill_parent"
  android:layout_height="wrap_content"
  android:inputType="numberDecimal"
  />

This works fine in the English locale. But in the German setup I could
only enter der dot (".") not the comma (",") which is in Germany used
to write a decimal sign. Is this a bug of the android API or did I
something wrong.

Thanks in advance,
Oliver

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to