Android keyboard flickers on and off when typing
Disable the hardware overlays from the developer options.


Go to Settings - Developer options
Tick Disable HW overlays.


It should drastically fix the flickers or at least help until the fix is merged.