Home | History | Annotate | Download | only in newalarm

Lines Matching defs:button

27 import android.widget.Button;
33 * When the user clicks the "Start Alarm Service" button, it triggers a repeating countdown
38 * When the user clicks the "Stop Alarm Service" button, it stops the countdown timer.
73 // Finds the button that starts the repeating countdown timer
74 Button button = (Button)findViewById(R.id.start_alarm);
76 // Sets the listener for the start button
77 button.setOnClickListener(mStartAlarmListener);
79 // Finds the button that stops countdown timer
80 button = (Button)findViewById(R.id.stop_alarm);
82 // Sets the listener for the stop button
83 button.setOnClickListener(mStopAlarmListener);
89 // Creates a new anonymous click listener for the start button. It starts the repeating
92 // Sets the callback for when the button is clicked
116 // Creates a new anonymous click listener for the stop button. It shuts off the repeating
119 // Sets the callback for when the button is clicked