ICInAppNotificationButtonStyle
This class provides style attributes that are utilized by InAppNotificationViewBinder for customizing notification button component
getTextColor
This method is used to get the button Text color for InAppNotification.
Syntax: public int getTextColor()
Returns: color of InAppNotification button text
setTextColor
This method sets InAppNotification button text color
Syntax: public void setTextColor(int textColor)
Parameters: textColor - color of InAppNotification button text
getTextSize
This method is used to get the button Text Size for InAppNotification.
Syntax: public float getTextSize()
Returns: returns button text size for InAppNotification
setTextSize
This method sets button text size for InAppNotification
Syntax: public void setTextSize(float textSize)
Parameters: textSize - size of InAppNotification button text
getTextTypeface
This method is used to get the button text typeface for InAppNotification.
Syntax: public android.graphics.Typeface getTextTypeface()
Returns: returns text typeface for InAppNotification button.
Must be one of the following constant values normal(0),sans(1),serif(2),monospace(3)
setTextTypeface
This method sets button text typeface for InAppNotification
Syntax: public void setTextTypeface(android.graphics.Typeface textTypeface)
Parameters: textTypeface - typeface of InAppNotification button text
getBackgroundResource
This method is used to get the button Background resource Id for InAppNotification
Syntax: public int getBackgroundResource()
Returns: background resource Id for InAppNotification button
setBackgroundResource
This method sets background resource id for InAppNotification button
Syntax: public void setBackgroundResource(int backgroundResource)
Parameters: backgroundResource - background resource id for InAppNotification button
getBackgroundColor
This method is used to get the button background color for InAppNotification.
Syntax: public int getBackgroundColor()
Returns: background color for InAppNotification button
setBackgroundColor
This method sets button background color for InAppNotification
Syntax: public void setBackgroundColor(int backgroundColor)
Parameters: backgroundColor - background color for InAppNotification button
Updated about 1 year ago