title: How to make imageview's background to scale proprtionally in android?
body: <p>What i need is that image should be scaled till it retains the exact proportions after that it should not be scaled further, so that every time width is equal to height of the image view.</p>
  
  <p>As if don't scale properly it will get out of shape, and i need it to be in 1:1 ratio of width and height.</p>
  
  <p>Will</p>
  
  <pre><code> Imageview:scale="fitxy"
  </code></pre>
  
  <p>work in this case ?</p>
  
  <p>Please help thnk you.</p>
  
  <p>I am working on android ICS</p>