G gdeppi Member Licensed User Longtime User Jun 23, 2015 #1 I need to set an EditText to numeric with two decimal (for example 1234,00), but if I set INPUT_TYPE_DECIMAL_NUMBERS I can insert only the dot, not the comma. Is there any way to do that? I mean, replacing point by comma? Thanks. Last edited: Jun 23, 2015
I need to set an EditText to numeric with two decimal (for example 1234,00), but if I set INPUT_TYPE_DECIMAL_NUMBERS I can insert only the dot, not the comma. Is there any way to do that? I mean, replacing point by comma? Thanks.
hibrid0 Active Member Licensed User Longtime User Jun 23, 2015 #2 ----- Last edited: Jun 24, 2015 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jun 24, 2015 #3 NumberFormat is not related. Try IME.SetCustomFilter: https://www.b4x.com/android/forum/t...-keyboard-with-the-ime-library.14832/#content Upvote 0
NumberFormat is not related. Try IME.SetCustomFilter: https://www.b4x.com/android/forum/t...-keyboard-with-the-ime-library.14832/#content