I suspect that you are doing this in a web browser inside your Android application and that your application does not handle orientation changes.
Either this, or the browser has the same problem, or your web page has flaws. A regular jquery web page should not have this problem, the website just automatically resizes, then the browser window (or device orientation) changes. Does your page have CSS or JS code that sets the element widths?
What browsers did you use on Android? Does the latest version of Android Chrome have the same problem?
source share