Mrm2299

BOTON EN ANDROID

Nov 13th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. Button button = (Button) findViewById(R.id.button);
  2. button.setOnClickListener(new View.OnClickListener() {
  3. @Override
  4. public void onClick(View view) {
  5. Snackbar.make(view, "esta es kaka", Snackbar.LENGTH_LONG)
  6. .setAction("Action", null).show();
Advertisement
Add Comment
Please, Sign In to add comment