New to android development, but not entirely new to Java. Right now my code inside the onCreate() method is quite basic:
Button b1 = (Button) findViewById(R.
Something a little less repetitive could be:
int[] ids = {R.id.button1, R.id.button2, ... }; for (int id:ids) { Button b = (Button) findViewById(id); b.setOnClickListener(this); }