Code example for View.OnClickListener

Methods: onClick

0
            @Override 
            public void onClick(View v) {
                ScaleAnimation scale = new ScaleAnimation(.95f, 1f, .95f, 1f, Animation.RELATIVE_TO_SELF, .5f, Animation.RELATIVE_TO_SELF, .5f);
                scale.setDuration(250);
                view.startAnimation(scale);
                listener.onClick(view);
            } 
        }); 
    } 
} 
Connect your IDE to all the code out there  Get Codota for Java