I\'m creating a Tablelayout with many TableRows dynamically, for example:
for(int i = 0; i
Set on click listener on table row.
tr.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { //TODO: } });