title: How to resolve when providing Layout left margin programmatically to a View / Viewgroup (For Animation), View getting shrinking
body: <p>How to resolve when providing Layout left margin programmatically to a View / Viewgroup  (For Animation)</p>
  
  <p>When View reaches, view's <strong>Y</strong> pos to screen width(For example 240), View got shrinked. </p>
  
  <p>View's X position is still moving but Y position not moving(if it reaches view's Y pos to screen width) so the view was shrniked.</p>
  
  <p>i tried with setting width for that view (i.e) <code>getLayoutParams().width = width // screen width</code>
  which is not working</p>