I am using the Gallery UI controller to provide a full-screen slideshow.
It is setup to display only on photo at the time.
The standard transistion between is to slide-out the old photo and slide-in the new.
This is smooth and works good on most platforms, but I having some performance problems on other (with very high resolution).
My workaround would be to use a different transition, preferable fade-out and fade-in.
I’ve already extended the Gallery control and have overwritten the
onKeyDown method.
By using the setSelection I am able to skip the default transition, but I am not able to include my on transition.
Has any one added a different transition to the Gallery component?
Is there another component which might give me better results?
Gallery source: http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.1_r2/android/widget/Gallery.java
Think, I’ve managed to crack this nut.
The strategy is as follows:
Here is an early Proof of concept that works, although it is missing some checks.