-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix virtual keyboard for decimal values on Android #86619
Conversation
platform/android/java/lib/src/org/godotengine/godot/input/GodotEditText.java
Outdated
Show resolved
Hide resolved
platform/android/java/lib/src/org/godotengine/godot/input/GodotEditText.java
Outdated
Show resolved
Hide resolved
platform/android/java/lib/src/org/godotengine/godot/input/GodotEditText.java
Outdated
Show resolved
Hide resolved
22f5686
to
07649fd
Compare
I could not find any information on how to activate However, it is possible to set up the Google keyboard. Gboard App - PlayStore |
platform/android/java/lib/src/org/godotengine/godot/input/GodotEditText.java
Outdated
Show resolved
Hide resolved
38c41e7
to
b604e22
Compare
platform/android/java/lib/src/org/godotengine/godot/input/GodotEditText.java
Outdated
Show resolved
Hide resolved
platform/android/java/lib/src/org/godotengine/godot/input/GodotEditText.java
Outdated
Show resolved
Hide resolved
b604e22
to
6f91c00
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Thanks! |
Cherry-picked for 4.2.2. |
Fixes: #84091
In Europe,
comma (,)
is usually used for decimal numbers and notperiod (.)
Note: without
accept_characters / KeyListener
the input is validated correctly, i.e.'-'
is only possible at the beginning and'.'
only once. TheKeyListener
is there to accept','
. On a Samsung Android','
is deactivated (I could not find a solution)Tests (numbertest.zip from #84091 (comment))
Pixel 4a (Android 13)
pixel_Screen_recording_20231229_231927.mp4
Samsung Tab S7 (Android 13)
samsung_Screen_recording_20231229_232305.mp4