Basically all you have to do is:
1. Add the following to your AndroidManifest.xml file:
2. Create the NewActivity class
3. On the button press or whenever you want to see the new activity launched call something like this:
Intent i = new Intent(MainActivity.this, NewActivity.class);
startActivity(i);
That's it!!