getDrawable

fun getDrawable(context: Context): Int

Returns the button icon.

Return

The icon resource ID.

Parameters

context

The application context