My jQuery Mobile
Application shrinks/resize its screen when Android virtual
keypad opens up.
jQuery Mobile
doesn't do that. Android browser does it, and as far as I
know you cannot change the behavior. It's what Android
browser does to make sure all elements can be seen when the
virtual keyboard is shown.
(iOS has it's
own, different, equally-obnoxious behavior... Actually,
it's quite a bit more obnoxious. iOS does *not* resize the
viewport, and instead tries to scroll the viewport inside of a
native window. Android actually got this one right and iOS got
it wrong. It's easy to adapt to the changing viewport size -
you can just use a
resize
event. On
iOS you don't get a resize event, because it isn't resized.)
I don't
know what you would prefer that it do instead?
This plugin
might help, but since you haven't said what it is you want,
maybe it won't:
Not sure that this plugin is that useful for Android, though, since
Android already gives you everything you need to deal with the
resizing. (The plugin was written for iOS, but also has some minimum
functionality for Android that might be helpful.)
But nothing seems to work.
To do
what? What is wrong with what it does? It's standard
browser behavior. What do you want it to do instead, and why?
You
will probably get better
answers, though, on an Android development forum or a Cordova
forum, though.
----
P.S. You are
posting in the wrong forum. This forum is about the development of
jQuery Mobile itself, e.g. future, new features, etc. Please
please questions about using jQuery Mobile in your own projects here: