I am working on a menu for my application, which is made from the Gallery and shifts it. I choose a different background image.
gallery.setOnItemSelectedListener(new Gallery.OnItemSelectedListener() {
@Override
public void onItemSelected(AdapterView<?> arg0, View arg1,
int arg2, long arg3) {
imageSwitcher.setImageResource(imm[arg2]);
The idea works decently, but the slip effect is not fluid. My idea is to set the delay by setting:
imageSwitcher.setImageResource(imm[arg2]);
only after 200 ms or so ... is something like this possible?
Thanks :) Marco
source
share