The validation in EditText (numberDecimal) is working fine with English language. I mean, the decimal separator as expected.
I am trying to replace dot with comma in case of Portuguese.
I have tried some solutions but those solutions allow multiple commas where I am expecting the behaviour as dot.
Here is what I have tried but it's allowing multiple commas inside after text changed:
if(device lang is portoguese){
edittext.keyListener = DigitsKeyListener.getInstance("0123456789,")
}