I am working on an application where on my home page I need to give a luminous and fading animation of the effect to a logo (imageview), I tried a lot and could not find how to give a glow effect, and I know the glow effect for the onclick event, please help me with this problem Thanks in advance
public class CustomView extends ImageView{ public CustomView(Context context, AttributeSet attrs, int defStyle) { super(context, attrs, defStyle); } public CustomView(Context context, AttributeSet attrs) { super(context, attrs); } public CustomView(Context context) { super(context); } boolean drawGlow = false;
This code is for touch event. I want an animation.
source share