set Drawable
Sets bitmap of this view using provided drawable.
The drawable is converted to a bitmap of its intrinsic size, except for bitmap drawables whose intrinsic size is larger than their actual bitmap (e.g. a resource placed in a drawable folder of lower density than the screen). Those are never scaled up: their bitmap is used at its own size, because a scaled up copy needs much more memory, can exceed the maximum size the GPU is able to keep as a texture and makes drawing every frame very slow, without adding any detail.
Parameters
drawable
drawable to be set.