How to programmatically set textview-s and their properties?
I'm programmatically populating a tablelayout in a scrollview with tablerow-s. In the tablerows I am putting the data in textviews. Now my questyon is how to programmatically(in java) set textviews like this: <TextView android:layout_width="20dp" android:layout_height="wrap_content" android:layout_marginLeft="10dp" /> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/tab" android:layout_weight="0.4" android:minWidth="80dp" /> <TextView android:layout_width="81dp" android:layout_height="wrap_content" style="@style/tab" /> <TextView android:layout