0

I am creating an android app using android studio version 1.0

By using the following function I'm using click event of a button and its working fine.

public void onMnuClick(View v){
    TextView txt1=(TextView) findViewById(R. id.txt) ;
    txt1.setText("menu pressed") ;
} 

But i need separate events for button press and button release how can that be done?

Suraj Bhawal
  • 403
  • 1
  • 6
  • 19

0 Answers0