SyntaxFix
Write A Post
Hire A Developer
Questions
Button button= (Button)findViewById(R.id.buttonId); button.setOnClickListener(new View.OnClickListener(){ @Override public void onClick(View view) { // click handling code } });