getDrawableFromAssets

fun getDrawableFromAssets(path: String): Drawable?

Get Drawable from assets

Description:

  • Search for an image in assets

Return

Drawable found, if not found returns null

Since

2.0

mMapController.getDrawableFromAssets("file:///android_asset/myImage.png")

Parameters

path

The path of the image.