title: Add image dynamically
body: <p>I trying to add image into <code>LinearLayout</code> (linearForImage) dynamically, but it doesn't work.</p>
  
  <pre><code>val image = ImageView(activity)
          image.setLayoutParams(LinearLayout.LayoutParams(80, 60))
  
          for (i in 1..5){
              linearForImage.removeView(image)
              image.setImageResource(R.drawable.ic_add)
              linearForImage.addView(image)
          }
  </code></pre>
  
  <p>I expect I will get 4 or 5 images in the <code>LinearLayout</code>, but there are no image is set. </p>