I have a button created on my main (activity) using . I set an onClick() method to determine the actions of the button. I want to display another view on clicking the button. The android:onclick("") call uses a string parameter. How can i reference the other view? I have its xml activity and content files built and the java file is properly put together and tested on my sdk to be working. But, how should i call the new object's view? I tried calling getApplication() but it crashes the app. I'll appreciate any assistance.
