You have to override the onClick
function.
play_a.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Toast.makeText(getApplicationContext(),"Sorry, Play doesn't work", Toast.LENGTH_LONG).show();
}
});
solved How do I display a Toast in a setOnClickListener?