I know how to screen1.xml to screen2.xml, with onClick method in my .java. But isit possible for me to just redirect to a xml with just ? I mean without anything in .java. Because i am about to have alot of xml layout with button linked to one xml.
Screen1 button > screen5
Screen2 button > screen5
Screen3 button > screen5
Screen4 button > screen5
and so on, i might have like 100over layouts link to screen5 so if i can just done everything in xml without needed to create .java for each of them could do me a big favour.
I guess you need onClick on your buttons
then implement the method
selfDestruct()in your Activity: