Android Question INPUT_TYPE_DECIMAL_NUMBERS on Galaxy Note 2

scrat

Active Member
Licensed User
Longtime User
Hello,

I have a problem with EditText.
i use this simple code:
B4X:
aEdit.InputType=aEdit.INPUT_TYPE_DECIMAL_NUMBERS

A user with a samsung galaxy note 2 has no point and no minus sign on keyboard
On all other devices tested the keyboard is configured correctly.
This is a known problem? is there a workaround ?

Thanks
 

Attachments

  • KOgn2.jpg
    KOgn2.jpg
    41.5 KB · Views: 348
  • OKnexus7.jpg
    OKnexus7.jpg
    25.4 KB · Views: 345
  • OKwiko.jpg
    OKwiko.jpg
    17.4 KB · Views: 331

Mahares

Expert
Licensed User
Longtime User
I had a similar problem with Galaxy Tab2 10 inch with cellular option (WiFi only tab2 has no problem using the decimal)
My Workaround:
Use IME library and filter the input:
IME.SetCustomFilter(EditText1, EditText1.INPUT_TYPE_TEXT, "-0123456789.")
 
Upvote 0

scrat

Active Member
Licensed User
Longtime User
Thanks Mahares,

I use this feature and an option in the setup for users with a "real" keyboard
 
Upvote 0
Top