protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); SetContentView(Resource.Layout.Main); ImageView circle = (ImageView)FindViewById <ImageView> (Resource.Id.circle); circleAnimation = (AnimationDrawable)circle.Drawable; circle.Touch += delegate(object sender, View.TouchEventArgs e) { if (e.Event.Action == MotionEventActions.Down) { Console.WriteLine("Circle was pressed"); circleAnimation.Stop(); circle.SetImageResource(Resource.Drawable.circle); } if (e.Event.Action == MotionEventActions.Up) { Console.WriteLine("Circle is not pressed"); circle.SetImageDrawable(circleAnimation); circleAnimation.Run(); //circleAnimation.Start(); } }; //SetContentView(new CircleView(this)); }