PDA

View Full Version : orientation change delay in android



norabora
17 Jan 2011, 4:05 AM
It seems that orientation change in android takes more than 1 second.
So I looked at the sencha code and I found some delay in
Ext.Viewport onOrientationChange - (200+200ms), Ext.Viewport fireResizeEvent - 500ms
After I removed these setTimeout delay, there was noticable improvement.

What's the reason for that delay?

Is it safe to remove those delay?

My environment : Galaxy Tab Android 2.2, sencha-touch 1.0.1a