I\'ve added a button to my activity XML file and I can\'t get it to open my other activity. Can some please tell me step by step on how to do this?
Apply the following steps:
mainactivity.java
public void openWindow2(View v) { //call window2 setContentView(R.layout.window2); } }