I have a form with a lot of fields. After call a new Intent (camera) and back to main activity, all fields are filled. OK.
But tablelayout looses inner TableRows. Why? Is there no way to keep tablerows?
tableMaterialObra = (TableLayout)findViewById(R.id.tlMaterialObra);
TableRow tr = new TableRow(this);
CheckBox cb = new CheckBox(this);
tr.addView(cb);
tableMaterialObra.addView(tr);