Share via


TableLayout.SetColumnShrinkable(Int32, Boolean) Method

Definition

Makes the given column shrinkable or not.

[Android.Runtime.Register("setColumnShrinkable", "(IZ)V", "GetSetColumnShrinkable_IZHandler")]
public virtual void SetColumnShrinkable (int columnIndex, bool isShrinkable);
[<Android.Runtime.Register("setColumnShrinkable", "(IZ)V", "GetSetColumnShrinkable_IZHandler")>]
abstract member SetColumnShrinkable : int * bool -> unit
override this.SetColumnShrinkable : int * bool -> unit

Parameters

columnIndex
Int32

the index of the column

isShrinkable
Boolean

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

Attributes

Remarks

Makes the given column shrinkable or not. When a row is too wide, the table can reclaim extra space from shrinkable columns.

Calling this method requests a layout operation.

Java documentation for android.widget.TableLayout.setColumnShrinkable(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