title: Android set imageview programmatically without stretching
body: <p>I am setting ImageView programmatically to create header for ListView .. </p>
  
  <pre><code>     ImageView imgView = new ImageView(getApplicationContext());
       imgView.setBackgroundResource(R.drawable.ic_v_order);
       list.addHeaderView(imgView);
  </code></pre>
  
  <p>but it fits the whole screen header, i don't want to stretch it.. how can i do that ?</p>