InAppMessageButtonViewUtils

Functions

Link copied to clipboard
fun getButtonDrawable(context: Context, messageButton: MessageButton, newStrokeWidth: Int, strokeFocusedWidth: Int, isFocused: Boolean): Drawable
Link copied to clipboard
fun getDrawable(context: Context, drawableId: Int): Drawable
Link copied to clipboard
fun setButton(button: Button, messageButton: MessageButton, strokeWidth: Int, strokeFocusedWidth: Int)
Link copied to clipboard
fun setButtons(buttonViews: List<View>, messageButtons: List<MessageButton>)

Sets the appropriate colors for the button text, background, and border.