B4J Code Snippet Set the resize policy of tableview columns.

Two options to set the resize policy of TableView columns.

CONSTRAINED
Adjusts the width of the columns if one column changes; starting from the column right to the one changed. Reference here.
B4X:
Sub TableView1_SetColumnResizePolicy_CONSTRAINT
  Dim joTV As JavaObject = TableView1
  joTV.RunMethod("setColumnResizePolicy", Array(joTV.GetField("CONSTRAINED_RESIZE_POLICY")))
End Sub

UNCONSTRAINED
Shifts all other columns (right of the given column) further to the right (when the delta is positive) or to the left (when the delta is negative). Reference here.
B4X:
Sub TableView1_SetColumnResizePolicy_UNCONSTRAINED
  Dim joTV As JavaObject = TableView1
  joTV.RunMethod("setColumnResizePolicy", Array(joTV.GetField("UNCONSTRAINED_RESIZE_POLICY")))
End Sub
 
Top