title: how to reduce large image size to thumbnail size in android
body: <p>in my app, i have large images, i display it in an image view by hard code the size as 60 X 60 dp. how to reduce the image size as image thumb nail size in android. is there programmatic way. because suppose i run my app in various resolution size design layout may get differ. my need is if i run my app in any resolution device image size should not get differ. how to do that in android. please help me.  </p>
  
  <p>i hard code image by the following code.</p>
  
  <pre><code>  &lt;ImageView android:id="@+id/img" android:layout_width="60dp"
       android:layout_height="60dp"
      android:layout_centerVertical="true" /&gt;
  </code></pre>