TextView.SetHeight(Int32) TextView.SetHeight(Int32) Method

Definition

Makes the TextView exactly this many pixels tall.

[Android.Runtime.Register("setHeight", "(I)V", "GetSetHeight_IHandler")]
public virtual void SetHeight (int pixels);
abstract member SetHeight : int -> unit
override this.SetHeight : 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