TableLayout in Android:-
Using this we can create Table Layout in android application using TableRow.
<TableLayout>
<TableRow>
</TableRow>
<TableRow>
</TableRow>
<TableRow>
</TableRow>
</TableLayout>
Design File:-
Using this we can create Table Layout in android application using TableRow.
<TableLayout>
<TableRow>
</TableRow>
<TableRow>
</TableRow>
<TableRow>
</TableRow>
</TableLayout>
Design File:-
<?xml version="1.0" encoding="utf-8"?><TableLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".Main2Activity"> <TableRow> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Click" > </Button> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Click" > </Button> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Click" > </Button> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Click" > </Button> </TableRow> <TableRow> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Click" > </Button> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Click" > </Button> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Click" > </Button> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Click" > </Button> </TableRow> <TableRow> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Click" > </Button> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Click" > </Button> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Click" > </Button> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Click" > </Button> </TableRow> <TableLayout> <ImageView android:src="@drawable/ic_launcher_foreground"> </ImageView> </TableLayout> </TableLayout>
POST Answer of Questions and ASK to Doubt