Я программно заполняю tablelayout в scrollview с помощью tablerow-s. В таблицах я помещаю данные в текстовые просмотры.
Теперь мой questyon как программно (в Java) установить TextViews так:Как программно установить textview-s и их свойства?
<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_width="70dp"
android:layout_height="wrap_content"
style="@style/tab"
/>
<TextView
android:layout_width="50dp"
android:layout_height="wrap_content"
android:background="@color/white"
android:gravity="center"
style="@style/tab"
android:textStyle="bold"
android:textColor="@color/black"
android:layout_marginRight="5dp"
/>