setIconAttribute

open fun setIconAttribute(attrId: Int)(source)

Sets an icon as supplied by a theme attribute. e.g. android.R.attr.alertDialogIcon

Parameters

attrId

ID of a theme attribute that points to a drawable resource.