setCompoundDrawablesRelative
open fun setCompoundDrawablesRelative(@NonNull textView: TextView, @Nullable start: Drawable, @Nullable top: Drawable, @Nullable end: Drawable, @Nullable bottom: Drawable)(source)
Deprecated
Call setCompoundDrawablesRelative 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 must already have had setBounds called.
Parameters
textView
The TextView against which to invoke the method.
start
position in pixels of the start bound
top
position in pixels of the top bound
end
position in pixels of the end bound
bottom
position in pixels of the bottom bound