Comment rendre lisse cadre de l'animation dans android?

J'ai fait une animation d'images. Mais le transitition entre les images est moche. Comment puis-je appliquer un effet de fondu enchaîné ?

Lors de l'utilisation de TransitionDrawable - je obtenir le bon résultat, mais il s'arrête après une exécution.

Quelqu'un a une idée de comment le résoudre?

public void startAnimation() {
    if (logoAnimation != null) {
        if (logoAnimation.isRunning()) {
            logoAnimation.stop();
        }
        logoAnimation.start();
    }
}

private int setLogoAnimation(int animationID, int targetID) {
    imageView = (ImageView) window.findViewById(targetID);
    imageView.setImageResource(animationID);
    logoAnimation = (AnimationDrawable) imageView.getDrawable();

    if (imageView != null && logoAnimation != null) {
        return 1;
    } else {
        return 0;
    }
}

Que j'ai tout simplement l'exécuter par un objet.startAnimation(); je travaille, mais l'animation est moche et j'en ai besoin d'être lisse.

Bonjour, pouvez-vous mettre un peu de code?

OriginalL'auteur Olek | 2011-05-04