spiegel-keyman/android/Samples/KMSample2
Marc Durdin 99e60559eb fix(android): Popup misalignments and compatibility with WeChat, Telegram
Fixes #4019.
Rolls back #3009 and fixes base issue in alternative manner.

The core issue here was twofold:

1. We needed to set the window size to the whole screen in order for the
   popups to visible and touchable. We implement this in
   `onConfigureWindow`.
2. Once our window size is the whole screen, we need to tell the apps
   which part of the window is our keyboard UI, in `onComputeInsets`.
   This is the only part of the window which impacts the layout of the
   underlying app. We had not set the `visibleTopInsets` property and
   this caused the WeChat problems.

Finally, in order for this to work, we roll back the original fix
in #3009 as that one breaks the full-screen layout requirement.

Tested with a wide range of apps on Android 10, including WeChat and
Telegram. If @kienwt, @ericjding have capacity, would love to know if
this fix works for them also.

Note that this fix requires changes to consumers of Keyman Engine, so
sample and FV Keyboards updated accordingly.
2021-01-14 17:05:31 +11:00
..
.idea Add Material Design 2018-09-19 13:46:03 +07:00
app fix(android): Popup misalignments and compatibility with WeChat, Telegram 2021-01-14 17:05:31 +11:00
gradle/wrapper fix(android): Update build dependencies for Sample and Test projects 2019-11-20 11:08:18 +07:00
build.gradle modify(android): Update sample and test projects to install asset kmp's 2020-04-02 10:26:48 +07:00
build.sh Stop warnings being reported during CI builds 2018-02-01 10:35:48 +07:00
gradle.properties fix(android): Update build dependencies for Sample and Test projects 2019-11-20 11:08:18 +07:00
gradlew Fix build scripts for Linux 2017-07-31 08:36:10 +07:00
gradlew.bat Keyman for Android 2.8 Open Source 2017-07-21 11:52:22 +07:00
settings.gradle Keyman for Android 2.8 Open Source 2017-07-21 11:52:22 +07:00