set Vector Drawable Icon
@NonNull
Content copied to clipboard
Overrides the current type icon using a android.graphics.drawable.VectorDrawable resource
Note that the size of the icon will be set to the default one set by setDisplayRuleDefaultIconSize
Return
Parameters
vector Drawable Res Id
A android.graphics.drawable.VectorDrawable resource id
@NonNull
Content copied to clipboard
Overrides the current type icon using a android.graphics.drawable.VectorDrawable resource
Return
Parameters
vector Drawable Res Id
A android.graphics.drawable.VectorDrawable resource id
width
The width in dp
height
The height in dp