set Bitmap Drawable Icon
@NonNull
Content copied to clipboard
Sets the icon for this rule using a android.graphics.drawable.BitmapDrawable resource
Note that the size of the icon will be set to the default one set by setDisplayRuleDefaultIconSize
Return
Parameters
bitmap Drawable Res Id
A android.graphics.drawable.BitmapDrawable resource id
@NonNull
Content copied to clipboard
Sets the icon for this rule using a android.graphics.drawable.BitmapDrawable resource
Return
Parameters
bitmap Drawable Res Id
A android.graphics.drawable.BitmapDrawable resource id
width
The width in dp
height
The height in dp