painter
Painter function to load a drawable resource with a specific theme
Configuration.UI_MODE_NIGHT_NO loads resources from res/drawable Configuration.UI_MODE_NIGHT_YES loads resources from res/drawable-night
Return
A Painter that can be used to draw the drawable resource.
Parameters
resId
The resource ID of the drawable to load.
resourceTheme
The theme to apply to the drawable resource.