makeIcon

open fun makeIcon(text: CharSequence): Bitmap

Sets the text content, then creates an icon with the current style.

Parameters

text

the text content to display inside the icon.


open fun makeIcon(): Bitmap

Creates an icon with the current content and style.

This method is useful if a custom view has previously been set, or if text content is not applicable.