I mean is like stopwach, when button clicked the Timer is on until the stop button pressed
startbutton= (Button)findViewById(R.id.black1);
startbutton.setOnClickListener(new View.OnClickListener() {
public void onClick(View v){
//Start the timer
}
});
stopbutton= (Button)findViewById(R.id.black1);
stopbutton.setOnClickListener(new View.OnClickListener() {
public void onClick(View v){
//Stop the timer
}
});
and second question,
if timer show 90 second how to make it show imageview or button in screen? like some if statement to make button visible each timer count to 90 second (90, 180, 270, etc..) he will set button visibility to visible.
Thanks before.