clickable
Opened this issue · 1 comments
Mardoqueu commented
How can I make it clickable??
trinhlbk1991 commented
Hi,
If you want to make any View clickable, just set the on click listener for it. Example:
button.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View view) {
Toast.makeText(MainActivity.this, “Button Clicked”, Toast.LENGTH_SHORT).show();
}
});