title: Dynamically display images in multiple position using single image view
body: <p>I have an image view in my Layout </p>
  
  <pre><code>&lt;ImageView
          android:id="@+id/img"
          android:layout_width="340dip"
          android:layout_height="240dip"
          android:layout_marginBottom="60dip"/&gt;   
  </code></pre>
  
  <p>I am setting an <code>img.setimageresource(R.drawable.apple);</code></p>
  
  <p>Now what I need is I have a <code>i</code> value which is incrementing in <code>onclick</code> of a button as soon as <code>i</code> value is incremented, image should be displayed and its is displaying. Again when <code>i</code> value is incremented it should display the same image just below the 1st image and so on...</p>