Resources Icon
enum ResourcesIcon(val resourceId: Int, val useOriginalColors: Boolean = false) : Enum<ResourcesIcon>
Drawable resources that are either .xml (can be created from an .svg, a vector image) or .png To convert .svg to .xml, you can use Android's Asset Studio But it gave me errors, so I used https://svg2vector.com/ to convert .svg from https://lucide.dev/icons/ to android .xml. All with stroke width 1.5px, size 300px (scaled up by opening the .svg in Gimp and saving it as .png)
Parameters
resource Id
a .png or .xml
Properties
Functions
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.