RemoteViews.SetTextViewCompoundDrawablesRelative Method

Definition

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

[Android.Runtime.Register("setTextViewCompoundDrawablesRelative", "(IIIII)V", "GetSetTextViewCompoundDrawablesRelative_IIIIIHandler")]
public virtual void SetTextViewCompoundDrawablesRelative (int viewId, int start, int top, int end, int bottom);
[<Android.Runtime.Register("setTextViewCompoundDrawablesRelative", "(IIIII)V", "GetSetTextViewCompoundDrawablesRelative_IIIIIHandler")>]
abstract member SetTextViewCompoundDrawablesRelative : int * int * int * int * int -> unit
override this.SetTextViewCompoundDrawablesRelative : int * int * int * int * int -> unit

Parameters

viewId
Int32

The id of the view whose text should change

start
Int32

The id of a drawable to place before the text (relative to the layout direction), or 0

top
Int32

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

end
Int32

The id of a drawable to place after 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.setTextViewCompoundDrawablesRelative(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