Android.Widget.TextView.SetWidth Method
Makes the TextView exactly this many pixels wide.

Syntax

[Android.Runtime.Register("setWidth", "(I)V", "GetSetWidth_IHandler")]
public virtual void SetWidth (int pixels)

See Also

TextView.SetMaxWidth(int)
TextView.SetMinWidth(int)
TextView.MinWidth
TextView.MaxWidth

Parameters

pixels
Documentation for this section has not yet been entered.

Remarks

Makes the TextView exactly this many pixels wide. You could do the same thing by specifying this number in the LayoutParams.

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1