title: changing the position of ImageView dynamically in android
body: <p>all</p>
  
  <p>I need to change the position of a ImageView dynamically and iam using the following code</p>
  
  <pre><code>int x=100,y=100;
  RelativeLayout.LayoutParams mparam = new RelativeLayout.LayoutParams((int)(LayoutParams.FILL_PARENT),(int)(LayoutParams.FILL_PARENT));
      mparam.topMargin=x;
      mparam.leftMargin=y;
      ball.setLayoutParams(mparam);
      x+=100;
      y+=100;
  </code></pre>
  
  <p>but i didnt get any change.</p>
  
  <p>Is it possible? and How?</p>