I’m having two layout.xml files. I need to load either one of the XML in a activity. Say initially i will be loading an activity using SetContentView and if a button click is done then i have to load another layout.xml file.
How can i do this?
This change will be frequently done in the activity.
Say you have
layout1.xmlandlayout2.xmlChange between them using
Careful