Android.Widget.TextView.SetTextSize Method
Set the default text size to a given unit and value.

Syntax

[Android.Runtime.Register("setTextSize", "(IF)V", "GetSetTextSize_IFHandler")]
public virtual void SetTextSize ([Android.Runtime.GeneratedEnum] Android.Util.ComplexUnitType unit, float size)

Parameters

unit
The desired dimension unit.
size
The desired size in the given units.

Remarks

Set the default text size to a given unit and value. See Android.Util.TypedValue for the possible dimension units.

[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