RemoteViews.SetTextViewCompoundDrawables Method

Definition

Equivalent to calling TextView#setCompoundDrawablesWithIntrinsicBounds(int, int, int, int).

[Android.Runtime.Register("setTextViewCompoundDrawables", "(IIIII)V", "GetSetTextViewCompoundDrawables_IIIIIHandler")]
public virtual void SetTextViewCompoundDrawables (int viewId, int left, int top, int right, int bottom);
[<Android.Runtime.Register("setTextViewCompoundDrawables", "(IIIII)V", "GetSetTextViewCompoundDrawables_IIIIIHandler")>]
abstract member SetTextViewCompoundDrawables : int * int * int * int * int -> unit
override this.SetTextViewCompoundDrawables : int * int * int * int * int -> unit

Parameters

viewId
Int32

The id of the view whose text should change

left
Int32

The id of a drawable to place to the left of the text, or 0

top
Int32

The id of a drawable to place above the text, or 0

right
Int32

The id of a drawable to place to the right of the text, or 0

bottom
Int32

The id of a drawable to place below the text, or 0

Attributes

Remarks

Java documentation for android.widget.RemoteViews.setTextViewCompoundDrawables(int, int, int, int, int).

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