Code example for AlphaAnimation

Methods: start

0
            public void onAnimationStart (Animation animation) {}
 
            @Override 
            public void onAnimationEnd (Animation animation) {
                pointer.setAnimation(fadeOutAnimation);
                fadeOutAnimation.start();
            } 
 
            @Override 
            public void onAnimationRepeat (Animation animation) {
 
                button.setPressed(true);
                handler.postDelayed(new Runnable() {
                    @Override 
                    public void run() { 
                        button.setPressed(false);
                        button.setChecked(false);
                    } 
                }, 100); 
            } 
Stop searching for code, let great code find you!  Add Codota to your java IDE