I have three views main1.xml, main2.xml , main3.xml. In main.xml I’m putting three buttons. When the user clicks on first button I want it to show main1.xml, if second button then main2.xml etc.. I am done with the main.xml files.
How to do I change the view?
Its very simple, you just need to use Intent