get Drawable Id From Attr
Resolves a theme-dependent drawable resource ID from the specified theme attribute.
Return
The resolved drawable resource ID (Int), or 0 if the attribute could not be resolved.
Parameters
attr
The theme attribute ID (e.g. R.attr.someDrawable) to resolve.