public void OnClick(){ Intent intent = new Intent(this,SecondActivity.class); startActivity(intent); this.finish();}