PDA

View Full Version : flickering issue in animation (android)



norabora
6 Jan 2011, 7:31 AM
In Kitchen Sink Demo - Animation - Slide, There is flickering issue in Android 2.2.
AFAIK, it didn't happen in Android 2.1.
It seems quite a serious bug, but only few people pointed it out.
http://www.sencha.com/forum/showthread.php?115290-OPEN-541-Animations-on-Android-flickering
Is there any work around for this?
Any trick only for Android 2.2 is fine by me. (Android 2.1 is not my interest.)

norabora
6 Jan 2011, 4:17 PM
I also found 1.0.1 is more flickering than 1.0.

Unfortunately I have to use 1.0.1 because of 'onclick'. (1.0 has bug in 'onclick')

I tried to merge 1.0.1 and 1.0 but no good.

Any suggestion will be appreciated.

rballman
9 Feb 2011, 8:20 PM
x2 on the flickering. any ideas on how to disable this feature if there isnt a fix for it?

markwyner
26 Apr 2011, 2:22 PM
In order to remove animations for Android you simply don't use "cardSwitchAnimation" or "type" on setActiveCard. This defaults to null. Poor Android users.

markwyner
26 Apr 2011, 2:27 PM
I found a solution for overriding animations which is great if you want to simplify the transition back and forth between iOS and Android dev:

http://www.sencha.com/forum/showthread.php?115321-How-do-we-disable-transitions-for-the-Android&p=537611&viewfull=1#post537611

Nice work, Mikey!