title: How to access a button from another xml that is not set in setContentView?
body: <p>For example, if I have a java class that has setContentView(R.layout.page), I can only access the buttons and textboxes from within the page xml, in that java class. But how do you access buttons from other xml layouts from the same java class without doing setContentView()? When I attempt to do this, I get a nullPointerException. Thanks in advance for any replies. (I would happily provide any required information)</p>