In the columns of your TableLayout you should use a TextView to display the content.
So for the first column try this,
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="right" android:text="Key" android:textColor="@android:color/black"/>
and for the second column try this,
<TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="left" android:text="Value" android:textColor="@android:color/black"/>
source share