setTtTintableIcon
Sets an icon to be displayed in front of the banner. And the icon will be tinted by the text color of ttPrimaryText. It's suggested to choose the icon carefully, usually with the white background color, to make the drawable look good. When set to null
, no drawable is shown.
NOTE: When using this method, ttDrawableImageType and setTtDrawable shouldn't be used explicitly.
Sets an icon resource to be displayed in front of the banner. And the icon will be tinted by the text color of ttPrimaryText. It's suggested to choose the icon carefully, usually with the white background color, to make the drawable look good. When set to null
, no drawable is shown.
NOTE: When using this method, ttDrawableImageType and setTtDrawable shouldn't be used explicitly.