Call getAlpha directly.
Get the alpha value of the drawable. 0 means fully transparent, 255 means fully opaque.
drawable
The Drawable against which to invoke the method.