title: Can one class in android studio handle several different in layout and purpose XML layouts
body: <p>Currently when I make a new layout I create a new class that handles that layout and then make a method to communicate with a class that the layout might communicate with, but can I use one class for everything. Like if I make a game can 1 class handle the Main Menu layout from which by pressing buttons you will be able to go to Options, High Scores and New Game. Can I do everything on a class ?</p>