title: How to add a subview to an ImageView in Android
body: <p>I come from an iOS background. For some reason, I cannot figure out how to add a view to another view.</p>
  
  <p>I have two <code>ImageView</code>s that I am creating programatically as follows:</p>
  
  <pre><code>ImageView imageView;
  ImageView imageHolder;
  </code></pre>
  
  <p>Now, I want to do something like this:</p>
  
  <pre><code>imageHolder.addView(imageView);
  </code></pre>
  
  <p>How do I accomplish this? Did a lot of Googling but no use.</p>