spiegel-keyman/android/KMAPro
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 chore(android): Update dependencies 2020-10-22 10:51:34 +07:00
gradle/wrapper fix(android): Update Gradle wrapper to 5.6.4 2020-08-07 08:51:01 +07:00
kMAPro fix(android): Popup misalignments and compatibility with WeChat, Telegram 2021-01-14 17:05:31 +11:00
.classpath Keyman for Android 2.8 Open Source 2017-07-21 11:52:22 +07:00
build.gradle chore(android/engine): update to sentry-android:3.1.0 2020-11-16 14:05:41 +07:00
build.sh fix(android/app): Add -upload-sentry option for local KMAPro 2020-11-05 16:17:06 +07:00
gradle.properties Add memory vmargs 2019-11-19 17:39:31 +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
ic_launcher-web.png Keyman for Android 2.8 Open Source 2017-07-21 11:52:22 +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 Add to history.md changelog 2017-08-23 17:28:47 +07:00