Animation anim = ViewAnimationUtils.createCircularReveal(mShowAnswer,cx,cy,radius,0); gives incompatible types error.
required Android.view.animation.Animation
Found android.animation.Animator
Animation anim = ViewAnimationUtils.createCircularReveal(mShowAnswer,cx,cy,radius,0); gives incompatible types error.
required Android.view.animation.Animation
Found android.animation.Animator
Change the class type of anim from “android.view.animation.Animation” to “android.animation.Animator”
Animator animator = ViewAnimationUtils.createCircularReveal(
mShowAnswerButton, cx, cy, radius, 0
);