List of usage examples for android.widget Button.OnClickListener interface-usage
From source file com.vexigon.libraries.onboarding.sample.MainActivity.java
public class MainActivity extends AppCompatActivity implements Button.OnClickListener { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main);
From source file com.sakisds.icymonitor.activities.AddServerActivity.java
/** * Adds a new server. * Created by sakisds on 25/05/13. */ public class AddServerActivity extends Activity implements Spinner.OnItemSelectedListener, Button.OnClickListener {
From source file com.stasbar.knowyourself.timer.TimerSetupView.java
public class TimerSetupView extends LinearLayout implements Button.OnClickListener, Button.OnLongClickListener { private final Button[] mNumbers = new Button[10]; private final int[] mInput = { 0, 0, 0, 0, 0, 0 }; private int mInputPointer = -1; private ImageButton mDelete;
From source file com.wizardsofm.deskclock.timer.TimerSetupView.java
public class TimerSetupView extends LinearLayout implements Button.OnClickListener, Button.OnLongClickListener { private final Button[] mNumbers = new Button[10]; private final int[] mInput = { 0, 0, 0, 0, 0, 0 }; private int mInputPointer = -1; private ImageButton mDelete;
From source file orbin.deskclock.timer.TimerSetupView.java
public class TimerSetupView extends LinearLayout implements Button.OnClickListener, Button.OnLongClickListener { private final Button[] mNumbers = new Button[10]; private final int[] mInput = { 0, 0, 0, 0, 0, 0 }; private int mInputPointer = -1; private ImageButton mDelete;
From source file com.android.deskclock.timer.TimerSetupView.java
public class TimerSetupView extends LinearLayout implements Button.OnClickListener, Button.OnLongClickListener { private final Button[] mNumbers = new Button[10]; private final int[] mInput = { 0, 0, 0, 0, 0, 0 }; private int mInputPointer = -1; private ImageButton mDelete;
From source file net.kjmaster.cookiemom.global.CookieActionActivity.java
/**
* Created with IntelliJ IDEA.
* User: KJ Stevo
* Date: 11/24/13
* Time: 7:59 PM
*/
From source file camera.AnotherCamera.java
/**
* This is an example of a fragment which can use the external Android camera to take
* a picture. It is important to remember to save the file URI where we want to save
* our picture into the bundle because this data will be cleared when the camera is loaded.
* The appropriate place to do this is in the Fragment's parent activity because there isn't a
* good "entry" point when the fragment returns to the foreground to retrieve the bundle info.
From source file org.mozilla.gecko.DoorHanger.java
public class DoorHanger extends LinearLayout implements Button.OnClickListener { private Context mContext; private LinearLayout mChoicesLayout; private TextView mTextView; static private LayoutParams mLayoutParams; public Tab mTab;
From source file com.mchp.android.PIC32_BTSK.ColorFragment.java
public class ColorFragment extends Fragment implements SeekBar.OnSeekBarChangeListener, Button.OnClickListener, ColorPickerView.OnColorChangedListener { // Constants static String colorCmd = "255,03"; // Command to set the LED color static int colorMax = 254; // Maximum color value