obtainDrawable

public abstract Drawable obtainDrawable(Context context)

Gets 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.