Returns the integer value for the provided attributeResId or defaultValue if the attribute is not a integer or not present in the current theme.
attributeResId
defaultValue