Remove default alertIcon on Android kony.ui.Alert

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

Hi,

How do I remove the default icon that comes with kony.ui.Alert for the different alertTypes

  • ALERT_TYPE_CONFIRMATION
  • ALERT_TYPE_ERROR
  • ALERT_TYPE_INFO

The docs say that I can override the alertIcon with an image but I don't want any image to show up (not even default). I only need title, message and Yes/No buttons to show up on the alert.

Is there a way to do this or do I have to create custom alert popups on Android?

Hi,

Check the below marketplace component, which may satisfy your requirement or you need to go with custom alert popup.

https://marketplace.kony.com/items/confirmation-popup