title: How to restrict rotation projection in android?
body: <p>I have used Animation() method to make my view with the animation of scaling and Rotation. With the Rotation based on the Y axis, the default height and width of my view has been changed. It looks like the parallelogram.</p>
  
  <p>rotation of rectangle along y-axis transformed to a parallelogram.</p>
  
  <pre><code> myview.Animate().RotationY(rotationangle)
                          .X(xposition)
                          .SetDuration(mduration)
                          .WithLayer()
                          .SetInterpolator(interpolate).Start();
  </code></pre>
  
  <p>My requirement:</p>
  
  <p>I just want the rotation of my view no need to change its projection. How to restrict the rotation of rectangle along y-axis transformed to a parallelogram.</p>
  
  <p>For more reference, please check the attached sample</p>
  
  <p>now view be like,</p>
  
  <p><a href="https://i.stack.imgur.com/xdG9u.png" rel="nofollow noreferrer">Image</a></p>
  
  <p>Please share your idea.</p>
  
  <p>Thanks in Advance.</p>
  
  <p>Note: while using PivotX and PivotY, there is no parallelogram shape. But I don't know the exact usage of that. </p>
  
  <p>Regards,</p>
  
  <p>Hemalatha Marikumar</p>