Grid Layout
<?xml version="1.0" encoding="utf-8"?>
<GridLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"
android:layout_height="match_parent"
android:columnCount="4"
android:rowCount="4"
android:orientation="horizontal" >
<TextView android:text=" R 1, C 1 " />
<TextView android:text=" R 1, C 2 " />
<TextView android:text=" R 1, C 3 " />
<TextView android:text=" R 1, C 4 " />
<TextView android:text=" R 2, C 1 " />
<TextView android:text=" R 2, C 2 " />
<TextView android:text=" R 2, C 3 " />
<TextView android:text=" R 2, C 4 " />
<TextView android:text=" R 3, C 1 " />
<TextView android:text=" R 3, C 2 " />
<TextView android:text=" R 3, C 3 " />
<TextView android:text=" R 3, C 4 " />
<TextView android:text=" R 4, C 1 " />
<TextView android:text=" R 4, C 2 " />
<TextView android:text=" R 4, C 3 " />
<TextView android:text=" R 4, C 4 " />
</GridLayout>
<GridLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"
android:layout_height="match_parent"
android:columnCount="4"
android:rowCount="4"
android:orientation="horizontal" >
<TextView android:text=" R 1, C 1 " />
<TextView android:text=" R 1, C 2 " />
<TextView android:text=" R 1, C 3 " />
<TextView android:text=" R 1, C 4 " />
<TextView android:text=" R 2, C 1 " />
<TextView android:text=" R 2, C 2 " />
<TextView android:text=" R 2, C 3 " />
<TextView android:text=" R 2, C 4 " />
<TextView android:text=" R 3, C 1 " />
<TextView android:text=" R 3, C 2 " />
<TextView android:text=" R 3, C 3 " />
<TextView android:text=" R 3, C 4 " />
<TextView android:text=" R 4, C 1 " />
<TextView android:text=" R 4, C 2 " />
<TextView android:text=" R 4, C 3 " />
<TextView android:text=" R 4, C 4 " />
</GridLayout>
Post a Comment