0

I created an application in html and JavaScript but it has the same bug is that with Android 2.3.6 with iPhone 5.0, while the Android version 4.0.4 the bug is not there.

To make it easier to explain my problem I put a link to the recording of my monitor.

The video on the iPhone, but on Android is the same. This application is for my thesis.

halfer
  • 19,824
  • 17
  • 99
  • 186

1 Answers1

0

You can listen for showkeyboard/hidekeyboard events and resize your UI as appropriate.

Simon MacDonald
  • 23,253
  • 5
  • 58
  • 74
  • thanks for the reply, what do you mean with "resize your UI"? I tried to use window.scrollTo(0,0) but doesn't work!! – Simone Monaco Sep 06 '12 at 10:34
  • You can use a different CSS sheet by using a media query to detect the screen size has changed. Then you can provide a different UI. – Simon MacDonald Sep 06 '12 at 15:41