title: Remove View from LinearLayout in Android issue
body: <p>I created a LinearLayout that has ImageViews added dynamically to it. I can have a list of 50 ImageViews but only 3 will be shown in it at the same time. </p>
  
  <p>I need to reference the 3 items in it so I have private variables setup at the top of my activity called ImageView item1, item2, item3. </p>
  
  <p>When a button is pressed, the next ImageView in the list is added to the layout and the first item is removed. I then reset the references for item1, item2, and item3.</p>
  
  <p>My problem is that while it works good, there seems to be a painting issue. item3 (the last ImageView) will show the new item added on top of the previous ImageView. It seems to be a painting issue because if I flip my phone into landscape mode and then go back to portrait, the issue is resolved.</p>
  
  <p>Edit: I have tried adding .invalidate() to the layout and to the imageViews themselves with no luck.</p>