I have ViewFlipper and the Gallery on the same activity. ViewFlipper periodically switch two view with simple fade animation. Problem is when I scrolling in Gallery at every switch start, Gallery stop animation and jump to nearest item. Is almost impossible to scroll if switch period is too short. I think that ViewFlipper start Animation which call invalidate() and this cause refresh Gallery, but why? Gallery is on the opposite side of screen, completely no reason to refresh gallery on every animation start.
I have ViewFlipper and the Gallery on the same activity. ViewFlipper periodically switch two
Share
It is caused by
child.setVisibility(View.GONE)inViewAnimatorclass it cause remeasure and redraw of whole activity screen 🙁 I used source code put in on own package and modify it tochild.setVisibility(View.INVISIBLE)I made bug report for this:
http://code.google.com/p/android/issues/detail?id=19581