Android.Widget.TextView.SetCompoundDrawablesWithIntrinsicBounds Method
Sets the Drawables (if any) to appear to the left of, above, to the right of, and below the text.

Syntax

[Android.Runtime.Register("setCompoundDrawablesWithIntrinsicBounds", "(IIII)V", "GetSetCompoundDrawablesWithIntrinsicBounds_IIIIHandler")]
public virtual void SetCompoundDrawablesWithIntrinsicBounds (int left, int top, int right, int bottom)

Parameters

left
Resource identifier of the left Drawable.
top
Resource identifier of the top Drawable.
right
Resource identifier of the right Drawable.
bottom
Resource identifier of the bottom Drawable.

Remarks

Sets the Drawables (if any) to appear to the left of, above, to the right of, and below the text. Use 0 if you do not want a Drawable there. The Drawables' bounds will be set to their intrinsic bounds.

Calling this method will overwrite any Drawables previously set using TextView.SetCompoundDrawablesRelative(Android.Graphics.Drawables.Drawable, Android.Graphics.Drawables.Drawable, Android.Graphics.Drawables.Drawable, Android.Graphics.Drawables.Drawable) or related methods.

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3