Android - Creating ImageViews/Button/Textviews not defined in Xml

view story

http://stackoverflow.com – I need to create a number of ImageViews (or alternate methods of showing images) depending on user input and also arrange them in a circular fashion. I am unsure where to start and I couldnt possibly define them in the xml layout file as I have no idea how many i need to create. How do I go about setting this up? (HowTos)