private void SetupAnimation() { View cardView = ViewCollection[ViewCollection.Count - 1]; _cardAnimator = new CardAnimator( ViewCollection, _color, _stackMargin, Context.Resources.DisplayMetrics.HeightPixels); _cardAnimator.InitLayout(); DragGestureDetector dd = new DragGestureDetector(Context, new DragListener(this)); _onTouchListener = new OnTouchListener(this, dd); cardView.SetOnTouchListener(_onTouchListener); Clickable = true; cardView.Clickable = true; }