Lines Matching refs:button
31 import android.widget.Button;
75 // Watch for button clicks.
76 Button button = (Button)findViewById(R.id.one_shot);
77 button.setOnClickListener(mOneShotListener);
78 button = (Button)findViewById(R.id.start_repeating);
79 button.setOnClickListener(mStartRepeatingListener);
80 button = (Button)findViewById(R.id.stop_repeating);
81 button.setOnClickListener(mStopRepeatingListener);