setIconAttribute

Set an icon as supplied by a theme attribute. e.g. alertDialogIcon.

Takes precedence over values set using setIcon or setIcon.

Parameters

attrId

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