Do not adjust bounds for IME until IME is actually displayed
When the IME window is just relayout to visibe but not drawn yet, the given insets of the IME window may not be set. Adjusting the docked stack at the time may cause wrong bounds to be used. So we wait until the IME window is actually displayed before moving the bottom stack. Also move the divider together with the bottom stack when adjusting for the IME window. This makes it look less janky. We still have issues with the top stack's bounds changed too early, which has to be fixed separately. bug: 27779495 Change-Id: Ic53dc261d430a40677154be5b312a992aab49c79
Loading
Please register or sign in to comment