IconSource
Create an icon from a drawable res.
Parameters
Res of drawable to use as icon
Text that is used as content description for the icon
Color that is used to tint the icon
Create an icon from a drawable res.
Parameters
The vector graphic object to use as icon
Text that is used as content description for the icon
Color that is used to tint the icon
Create an icon from a drawable res.
Parameters
Drawable bitmap to use as icon
Text that is used as content description for the icon
Color that is used to tint the icon
Create an icon from a drawable res.
Parameters
Painter drawable to use as icon
Text that is used as content description for the icon
Color that is used to tint the icon
Create an icon from a drawable res.
Parameters
Res of drawable to use as icon
Text that is used as content description for the icon
Color that is used to tint the icon
Color that is used to tint the icon when selected
Create an icon from a drawable res.
Parameters
The vector graphic object to use as icon
Text that is used as content description for the icon
Color that is used to tint the icon
Color that is used to tint the icon when selected