Stats

152 Contributors: 8 Saturday, December 24, 2016
Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Rip Tutorial: riptutorial@gmail.com
Roadmap: roadmap
Download eBook

Button

Download android eBook

Syntax

  • <Button ... />
  • android:onClick="methodname"
  • button.setOnClickListener(new OnClickListener(){...});
  • public class classname implements View.OnLongClickListener

Related Examples