I don't get the correct index. Can anyone tell me why? I expect 0 as index, not -1.
int[] id = {R.id.buKeyPadNum1, ...} **(EDIT)**
int index = Arrays.asList(id).indexOf(v.getId());
Log.i("onClick", "v.getId "+ String.valueOf(v.getId())+" ButtonId "+String.valueOf(id[0])
+" Index "+String.valueOf(index));
LogCat: 09-25 08:11:32.039: I/onClick(1680): v.getId 2131296337 ButtonId 2131296337 Index -1