setCompoundDrawablesRelativeWithIntrinsicBounds

Deprecated

Call setCompoundDrawablesRelativeWithIntrinsicBounds directly.

Sets the Drawables (if any) to appear to the start of, above, to the end of, and below the text. Use null 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 setCompoundDrawables or related methods.

Parameters

textView

The TextView against which to invoke the method.

start

drawable to use at start

top

drawable to use at top

end

drawable to use at end

bottom

drawable to use at bottom


Deprecated

Call setCompoundDrawablesRelativeWithIntrinsicBounds directly.

Sets the Drawables (if any) to appear to the start of, above, to the end 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 setCompoundDrawables or related methods.

Parameters

textView

The TextView against which to invoke the method.

start

Resource identifier of the start Drawable.

top

Resource identifier of the top Drawable.

end

Resource identifier of the end Drawable.

bottom

Resource identifier of the bottom Drawable.