spiegel-keyman/android/KMEA
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 Gradle wrapper to 5.6.4 2020-08-07 08:51:01 +07:00
test_resources fix(android/engine): Revise updateOldKeyboardsList 2020-06-07 09:37:26 +07:00
.classpath Keyman for Android 2.8 Open Source 2017-07-21 11:52:22 +07:00
build.gradle fix(android): Update sentry plugin to remove obsolete API use 2020-08-07 13:07:46 +07:00
build.sh chore(android): Merge remote-tracking branch 'origin/master' into feat/android/kmw-sentry 2020-11-18 14:30:56 +07:00
gradle.properties android[fix]: add memory vmargs to gradle properties 2019-11-19 17:12:34 +07:00
gradlew fix(android): Update Gradle wrapper to 5.6.4 2020-08-07 08:51:01 +07:00
gradlew.bat fix(android): Update Gradle wrapper to 5.6.4 2020-08-07 08:51:01 +07:00
lint.xml Keyman for Android 2.8 Open Source 2017-07-21 11:52:22 +07:00
proguard-project.txt Keyman for Android 2.8 Open Source 2017-07-21 11:52:22 +07:00
project.properties 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