TableLayout

Android Layout Padding

In android, we can set Padding to layout. So that for each view we can give some space to display.

Android TableLayout

TableLayout:

By seeing the word ‘Table’ itself we know that Table Layout is used to show views in a table format with rows & columns.

How to add rows in a table layout?

  • TableRow is used to add rows in a table layout.
  • TableRow is a layout. It will arrange its children horizontally.
Syndicate content