TableLayout.SetColumnStretchable(Int32, Boolean) Method

Definition

Makes the given column stretchable or not.

[Android.Runtime.Register("setColumnStretchable", "(IZ)V", "GetSetColumnStretchable_IZHandler")]
public virtual void SetColumnStretchable (int columnIndex, bool isStretchable);
[<Android.Runtime.Register("setColumnStretchable", "(IZ)V", "GetSetColumnStretchable_IZHandler")>]
abstract member SetColumnStretchable : int * bool -> unit
override this.SetColumnStretchable : int * bool -> unit

Parameters

columnIndex
Int32

the index of the column

isStretchable
Boolean

true if the column must be stretchable, false otherwise. Default is false.

Attributes

Remarks

Makes the given column stretchable or not. When stretchable, a column takes up as much as available space as possible in its row.

Calling this method requests a layout operation.

Java documentation for android.widget.TableLayout.setColumnStretchable(int, boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to