ResourcesIcon

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

resourceId

a .png or .xml

Constructors

Link copied to clipboard
private constructor(resourceId: Int, useOriginalColors: Boolean = false)

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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.