RemoteViews.SetTextViewTextSize(Int32, Int32, Single) Method

Definition

Equivalent to calling TextView#setTextSize(int, float)

[Android.Runtime.Register("setTextViewTextSize", "(IIF)V", "GetSetTextViewTextSize_IIFHandler")]
public virtual void SetTextViewTextSize (int viewId, int units, float size);
[<Android.Runtime.Register("setTextViewTextSize", "(IIF)V", "GetSetTextViewTextSize_IIFHandler")>]
abstract member SetTextViewTextSize : int * int * single -> unit
override this.SetTextViewTextSize : int * int * single -> unit

Parameters

viewId
Int32

The id of the view whose text size should change

units
Int32

The units of size (e.g. COMPLEX_UNIT_SP)

size
Single

The size of the text

Attributes

Remarks

Java documentation for android.widget.RemoteViews.setTextViewTextSize(int, int, float).

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