My problem was to create a dynamic table and not hard xml-coded. So I’ve wrote a table class to create it programmatically. The created table has also borders. TableGenerator class public class TableGenerator { private final Context mContext; private TableLayout mTable; private TableLayout.LayoutParams rowParams = new TableLayout.LayoutParams(); private TableRow.LayoutParams colParams = new TableRow.LayoutParams(); public TableGenerator(Context… Read More