Smoother animation, notification on layout change and a bug fix #218
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Smoother Animation
Hi, I have made the animation look smoother by fading it out. Before the animation would draw a box over the key and after it was finished, the box would instantly disappear. I've made both the box and the falling letter fade out at the end of the animation, which makes it look a lot less sharp. To test how smooth it looks, set both animation speeds to 500.
see KeyboardKey.kt for these changes
Layout change notification
I've added a Toast notification for every time the user changes the layout, so it will tell them which layout they are now on.
see ComposeKeyboardView.kt for these change.
Bug fix
The cursor was moving to the wrong place when we had a key that entered a string of text with more than one character.
Fixes issue 216.
see Utils.kt for the bug fix