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 required, the return type should be a selector, displaying the drawable for the enable or disable state respectively.

Parameters

context

The context