---
agentTools:
  projectIndex: https://docs.nvecta.com/llms.txt
---

# Customisations

Customize the features of push notifications and Notification Center

## Android

Customization(s) would be done at Module-level / *app → src → main → res → values* folder.

## Push Notifications

1. To change the COLOR of a small icon, follow the below code :

```xml
<color name="push_small_icon_background">#a03844</color>
```

2. To show custom HEADER in custom push, follow the below code:

```xml
<integer name="nvShowHeaderCustomNotif">1</integer>

//If 1 then header will be visible
//If 0 then header will be invisible
```

3. To change monochrome ICON, follow the below code:

```xml
<string name="nv_monoImageName">sm_push_logo</string>
```

## For Sticky Push

1. To change the BACKGROUND color, follow the below code:

```xml
<color name="nvStickyBgColorNotification">#FAFAFA</color>
```

2. To apply COLOR-FILTER on close button, follow the below code:

```xml
<color name="nvStickyCloseBtnColorFilter">#0000</color>
```

3. To change the TEXT-COLOR of icon’s title ,  follow the below code:

```xml
<color name="nvStickyIconTextColor">#616161</color>
```

4. To apply COLOR-FILTER on icons, follow the below code:

```xml
<color name="nvStickyIconsColorFiler">#0000</color>
```

5. To apply COLOR-FILTER on logo, follow the below code:

```xml
<color name="nvStickyLogoColorFilter">#0000</color>
```

6. To ON/OFF the visibility of icon’s title , follow the below code:

```xml
<integer name="isIconTextVisible">1</integer>

//If 1 then text will be visible
//If 0 then text will be invisible
```

7. To change the FONT-SIZE of icon’s title

```xml
<integer name="nvStickyIconsTextSize">9</integer>
```

## For Slider Push

To stop handling IMAGE clicks

```xml
<integer name="nv_NC_stopSliderImagesClick">0</integer>

//If 1 then clicks will be inactivate
//If 0 then clicks will be activated
```

## Notification Center

For Actionbar

1. To apply COLOR-FILTER on actionbar close button

```xml
<color name="nv_actionbarButtonColor">#000000</color>
```

2. To change COLOR of actionbar title

```xml
<color name="nv_actionbarTitleTextColor">#000000</color>
```

3. To change the FONT-SIZE of actionbar title

```xml
<integer name="nv_actionbarTitleFontSize">22</integer>
```

4. To change close button SIZE of actionbar

```xml
<integer name="nv_actionbarButtonSize">18</integer>
```

5. To change BACKGROUND of actionbar

```xml
<string name="nv_actionbarBackground">#ffffff</string>

//values can be #e0e0e0 OR "name of drawable image" OR url of image(.png, .jpg, .jpeg) OR rgba(255,0,0,0.7)
```

6. To change IMAGE of actionbar close button

```xml
<string name="nv_actionbarCloseBtnImage">cross_nv_new</string>
```

7. To change the TITLE of actionbar

```xml
<string name="nv_actionbarCloseBtnImage">cross_nv_new</string>
```

8. To change TEXT-STYLE of actionbar title

```xml
<string name="nv_actionbarTitleStyle">bold</string>
```

## General

1. To change the COLOR of a time

```xml
<color name="nvCenterTimeColor">#94989F</color>
```

2. To change BORDER-COLOR of cardview

```xml
<color name="nv_center_cardview_borderColor">#a1a5ab</color>
```

3. To change COLOR of cardview content background color

```xml
<color name="nv_center_contentBgColor">#ffffff</color>
```

4. To change COLOR of coupon code

```xml
<color name="nv_center_coupon_codeColor">#000000</color>
```

5. To change divider COLOR between CTA buttons

```xml
<color name="nv_center_cta_BtnDividerColor">#d3d3d3</color>
```

6. To change the TEXT-COLOR of CTA button 1

```xml
<color name="nv_center_cta_first">#848484</color>
```

7. To change BACKGROUND-COLOR of CTA button 1

```xml
<color name="nv_center_cta_firstBgColor">#ffffff</color>
```

8. To change TEXT-COLOR of CTA button 2

```xml
<color name="nv_center_cta_second">#848484</color>
```

9. To change BACKGROUND-COLOR of CTA button 2

```xml
<color name="nv_center_cta_secondBgColor">#ffffff</color>
```

10. To change BACKGROUND-COLOR of icon

```xml
<color name="nv_center_iconBgColor">#EBEBEB</color>
```

11. To change the COLOR of a line above CTA buttons

```xml
<color name="nv_center_lineAboveCTAColor">#d3d3d3</color>
```

12. To change the TEXT-COLOR of summary

```xml
<color name="nv_center_pushSummaryColor">#94989F</color>
```

13. To change the TEXT-COLOR of message

```xml
<color name="nv_center_push_messageColor">#848484</color>
```

14. To change the TEXT-COLOR of title

```xml
<color name="nv_center_push_titleColor">#000000</color>
```

15. To change BACKGROUND-COLOR of remove icon

```xml
<color name="nv_center_removeIconBg">#00ffffff</color>
```

16. To apply COLOR-FILTER on empty image (it will be shown when center doesn’t have any notifications)

```xml
<color name="nv_emptyImageTintColor">#9C9C9C</color>
```

17. To change BACKGROUND-COLOR of header

```xml
<color name="nv_headerBgColor">#D7F0F5</color>
```

18. To change BORDER-COLOR of header

```xml
<color name="nv_headerBorderColor">#86D0D7</color>
```

19. To change TEXT-COLOR of header title

```xml
<color name="nv_headerTextColor">#696E79</color>
```

20. To change COLOR of no\_notification\_message

```xml
<color name="nv_noNotificatioMsgColor">#9C9C9C</color>
```

21. To change the COLOR of status bar

```xml
<color name="nv_statusBarColor">#000000</color>
```

22. To change BACKGROUND color of header

```xml
<color name="nv_headerBgColor">#D7F0F5</color>
```

23. To change the FONT-SIZE of coupon code

```xml
<integer name="nvCenterCouponCodeFontSize">14</integer>
```

24. To change the FONT-SIZE of summary

```xml
<integer name="nvCenterSummaryFontSize">12</integer>
```

25. To change the FONT-SIZE of time

```xml
<integer name="nvCenterTimeFontSize">10</integer>
```

26. To change the FONT-SIZE of title

```xml
<integer name="nvCenterTitleFontSize">14</integer>
```

27. To change the FONT-SIZE of message

```xml
<integer name="nvCenter_push_Message_fontSize">14</integer>
```

28. To change border WIDTH of cardview

```xml
<integer name="nv_center_cardview_borderWidth">1</integer>
```

29. To change icon SIZE of CTA buttons

```xml
<integer name="nv_center_cta_BtnIconSize">25</integer>
```

30. To change FONT-SIZE of CTA text

```xml
<integer name="nv_center_cta_TextFontSize">13</integer>
```

31. To set HEIGHT of remove icon

```xml
<integer name="nv_center_removeIcon_height">30</integer>
```

32. To set WIDTH of remove icon

```xml
<integer name="nv_center_removeIcon_width">30</integer>
```

33. To change FONT-SIZE of header title

```xml
<integer name="nv_headerTextFontSize">20</integer>
```

34. To change the FONT-SIZE of no\_notification\_message

```xml
<integer name="nv_noNotificationMsgFontSize">20</integer>
```

35. To ON/OFF header

```xml
<integer name="nv_show_NC_header">1</integer>

//If 1 then header will be visible
//If 0 then header will be invisible
```

36. To change TEXT of coupon code label

```xml
<string name="coupon_code">Coupon Code : </string>
```

37. To change TEXT of toast message of coupon code (shown at the time of clicking it)

```xml
<string name="coupon_code_copied">Coupon Code has been copied</string>
```

38. To change TEXT of no\_notifications label

```xml
<string name="no_notifications">No New Notifications!</string>
```

39. To change TEXT of header

```xml
<string name="notifications_offers">Your latest updates and offers</string>
```

40. To change BACKGROUND of notification center

```xml
<string name="nv_NC_ActivityBg">nv_default_bg</string>

//values can be #e0e0e0 OR "name of drawable image" OR url of image(.png, .jpg, .jpeg) OR rgba(255,0,0,0.7)
```

41. To change TEXT-STYLE of title

```xml
<string name="nv_center_TitleTextStyle">bold</string>
```

42. To change TEXT-STYLE of date

```xml
<string name="nv_center_push_DateStyle">normal</string>
```

43. To change TEXT-STYLE of message

```xml
<string name="nv_center_push_MsgStyle">normal</string>
```

44. To change TEXT-STYLE of summary

```xml
<string name="nv_center_push_SummaryStyle">normal</string>
```

45. To change TEXT-STYLE of CTA buttons

```xml
<string name="nv_center_push_ctaStyle">bold</string>
```

46. To change remove\_icon IMAGE

```xml
<string name="nv_center_removeIconName"/>
```

47. To change IMAGE of default app\_icon

```xml
<string name="nv_default_appicon">nvdefaulticon</string>
```

48. To change IMAGE of no\_notification

```xml
<string name="nv_emptyImage">empty</string>
```

49. To provide custom FONT-ASSET, follow the below code :

```xml
<string name="nv_fontAsset"/>
```

50. To change TEXT-STYLE of header , follow the below example :

```xml
<string name="nv_headerTextStyle">normal</string>
```

51. To change TEXT-STYLE of no\_notifications, follow the below functionality :

```xml
<string name="nv_noNotificationTextStyle">normal</string>
```