You should post your whole code how you declare, initialize and add the ImageViews, without seeing what exactly you have done it's impossible to give a concrete advice. Otherwise we must try to guess what you could have done wrong and this is not efficient.