Category Archives: tablelayout

Android TableLayout With Alternative Column Color

In the Previous tutorial we have seen how to set the android table layout with alternative row color , in this tutorial we will see how to set alternative column color inside tablelayout . XML Layout file : activity_main.xml <?xml version=”1.0″ encoding=”utf-8″?><TableLayout xmlns:android=”http://schemas.android.com/apk/res/android”    android:id=”@+id/tablelayout”    android:layout_width=”match_parent”    android:layout_height=”wrap_content”    android:layout_below=”@+id/trainsearchLayout”    android:layout_marginLeft=”7dp”    android:layout_marginRight=”7dp” … Read More »

Android TableLayout With Alternative Row Color

We have seen how to create Table Layout in android , in this tutorial we will see how to set the alternative row color for TableRow inside the TableLayout , when ever are dealing with table layout that fetch data from database and when the table layout grow large ,adding alternative color to the rows… Read More »