android studio open new activity from button code example
Example: android how to start a new activity on button click
Intent intent = new Intent(this, ActivityToBeCalled.class);
startActivity(intent);
Intent intent = new Intent(this, ActivityToBeCalled.class);
startActivity(intent);