• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Manipulating xml from java

I'm struggling with something and I'm hoping someone can help me out.

Is there a way to add an element to the current layout from runtime(java)?
for example. If I created a layout xml with Just 1 button on the screen. Can I create an ImageView by pushing that button that will appear underneath each time I push that button?
 
Back
Top Bottom