Skip to main content

Set launcher icon for Android

This API is used to set the custom launcher icon in your app.

Note: Use an icon with a size less than 56dp for best results.

Parameter:

  • resourceName - Add name of the icon in the drawable folder inside android, without extension.

Steps:

  • Add the icon to the drawable folder of your project's resources (res/drawable).
  • For example: If "ic_bell.xml" is the icon present in the drawable folder. Then use an API like ZohoSalesIQ.Launcher.setIconForAndroid("ic_bell");.

Syntax

CopiedZohoSalesIQ.Launcher.setIconForAndroid(String resourceName);

Example

CopiedZohoSalesIQ.Launcher.setIconForAndroid("ic_bell");