TextView.SetWidth(Int32) TextView.SetWidth(Int32) Method

Definition

Makes the TextView exactly this many pixels wide.

[Android.Runtime.Register("setWidth", "(I)V", "GetSetWidth_IHandler")]
public virtual void SetWidth (int pixels);
abstract member SetWidth : int -> unit
override this.SetWidth : int -> unit

Parameters

pixels
Int32 Int32

Remarks

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

See also