title: setPivotY() behave strange on Android
body: <p>I have an ImageView which I want it to enlarge once the app is launched</p>
  
  <p>So, firstly I did this:</p>
  
  <pre><code>protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
  
      RelativeLayout layout = (RelativeLayout) findViewById(R.id.mainLayout);
  
      ImageView imageView = new ImageView(this);
      imageView.setImageResource(R.drawable.screenshot198);
  
      RelativeLayout.LayoutParams params = new RelativeLayout.LayoutParams(
              LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);
  
      imageView.setLayoutParams(params);
  
      layout.addView(imageView);
  
      imageView.setPivotX(1.0f);
      imageView.setScaleX(1.5f);
      imageView.setScaleY(1.5f);
  }
  </code></pre>
  
  <p>It works great! </p>
  
  <p><img src="https://i.stack.imgur.com/Jddy5.jpg" alt="enter image description here"></p>
  
  <p>Then I try to set it at bottom by adjusting the code:</p>
  
  <pre><code>protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
  
      RelativeLayout layout = (RelativeLayout) findViewById(R.id.mainLayout);
  
      ImageView imageView = new ImageView(this);
      imageView.setImageResource(R.drawable.screenshot198);
  
      RelativeLayout.LayoutParams params = new RelativeLayout.LayoutParams(
              LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);
  
      params.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM);
  
      imageView.setLayoutParams(params);
  
      layout.addView(imageView);
  
      imageView.setPivotX(1.0f);
      imageView.setPivotY(1.0f);
      imageView.setScaleX(1.5f);
      imageView.setScaleY(1.5f);
  }
  </code></pre>
  
  <p>Hey! What's going on with my tree!? </p>
  
  <p><img src="https://i.stack.imgur.com/K9OER.jpg" alt="enter image description here"></p>
  
  <p>The only difference between these two paragraphs of code is that, I've added [params.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM);] in order to put image at bottom, and added [setPivotY(1.0f);] so the image should scale upward from bottom.</p>
  
  <p>But it seems the [setPivotY(1.0f);] doesn't work properly. Anything I'm missing? Thanks!</p>