mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Android: Fix Decimal keyboard
This commit is contained in:
parent
af2c713971
commit
8f0a642f6c
1 changed files with 1 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ public class GodotEditText extends EditText {
|
|||
|
||||
if (!TextUtils.isEmpty(acceptCharacters)) {
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
||||
edit.setKeyListener(DigitsKeyListener.getInstance(Locale.getDefault()));
|
||||
edit.setKeyListener(DigitsKeyListener.getInstance(Locale.getDefault(), true, true));
|
||||
} else {
|
||||
edit.setKeyListener(DigitsKeyListener.getInstance(acceptCharacters));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue