Adding layout for tables using fragments.