private void TapGestureRecognizerx1_OnTapped(object sender, EventArgs e) { arrow1.RotateTo(arrow1.Rotation == 180 ? 0 : 180, 150U, Easing.Linear); BasicInfo.ScaleTo(Math.Abs(BasicInfo.Scale) < 1 ? 1 : 0, 150U, Easing.CubicIn); BasicInfo.HeightRequest = Math.Abs(BasicInfo.HeightRequest) < 1 ? _basicInfoHeight : 0; }