Guest User

Untitled

a guest
Apr 19th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. music = (Button)findViewById(R.id.music);
  2.  
  3. music.setOnClickListener(new Button.OnClickListener() {
  4. @Override
  5. public void onClick (View v){
  6. startActivity(new Intent(EncapsulatingActivity.this, SomeOtherActivity.class));
  7. }
  8. });
Add Comment
Please, Sign In to add comment