I was wondered if you have a lot of buttons in one activity if this is the right way to define them
FL = (Button) findViewById(R.id.FL);
RR = (Button) findViewById(R.id.RR);
RL = (Button) findViewById(R.id.RL);
FR = (Button) findViewById(R.id.FR);
clear = (Button) findViewById(R.id.clear);
save = (Button) findViewById(R.id.save);
VeLi = (TextView) findViewById(R.id.VeLi);
FRL = (EditText) findViewById(R.id.FRL);
RER = (EditText) findViewById(R.id.RER);
REL = (EditText) findViewById(R.id.REL);
FRR = (EditText) findViewById(R.id.FRR);
FL.setOnClickListener(onClickListener);
RR.setOnClickListener(onClickListener);
RL.setOnClickListener(onClickListener);
FR.setOnClickListener(onClickListener);
clear.setOnClickListener(onClickListener);
save.setOnClickListener(onClickListener);
now am i defining them all one by one is this the right way of is there for this an easier way..?
tnx