title: how to rotate a view along x axis
body: <p>I want to rotate a view along its x axis.I tried to do the following:</p>
  
  <pre><code>AnimationSet anim=new AnimationSet(true);
  RotateAnimation rotate=new      RotateAnimation(0.0f,-10.0f,RotateAnimation.ABSOLUTE,0.5f,RotateAnimation.RELATIVE_TO_SELF,0.5f);
  rotate.setFillAfter(true);
  rotate.setDuration(5000);
  rotate.setRepeatCount(0);
  anim.addAnimation(rotate);
  View relatv1=(View)findViewById(R.id.relativeLayout1);
  relatv1.setAnimation(anim);
  </code></pre>
  
  <p>but i instead the view rotates along its y axis.How can i accomplish x axis rotation?</p>