obtainDrawable

public abstract Drawable obtainDrawable(Context context)

Retrieves the icon of the clicked button

Return

The Drawable of the image. If highlighting or graying is needed, the return type should be a selector, displaying the drawable in the enable or disable state respectively

Parameters

context

The context