adjustPan not working on android

I want my content on the page to move up without resizing when keyboard is shown, and adjustPan should do just that. But when I set it, it does not work, keyboard covers the input field.
By the way, adjustResize works fine, but I don’t want that because it resizes the bacground image.
Is this a bug? And if it is, is there any workaround for this?