how can i get the shape of my view in android
<p>i've stumbled upon a  sample for using fragments.Whenever a tab is changed a fragment would rotate.using this:  </p>

<p><code>ObjectAnimator.ofFloat(leftFrag1.getView(), "rotationY",0,180).start</code> </p>

<p>The thing is that in the sample the fragment has only a background so it looks ok.My fragment has a few views on it and i don't want them to be rotated cause it looks bad.Is there a way to get only the view's rectangle to rotate or erase the layout that the view is related so that it look like the sample?<br>
Thank you for your time </p>
