0

It seems Bottom navigation view can only accept a drawable icon and not plain textview as an icon for navigation. What I want to achieve is to add textview that would have user ititial and a circle background. Would greatly appreciate your help

enter image description here

Is there an alternative

Dr4ke the b4dass
  • 1,184
  • 2
  • 17
  • 40
  • refer this link ->https://stackoverflow.com/questions/57861254/how-to-change-a-specific-icon-image-from-bottom-navigation-view – Manikandan Apr 13 '21 at 15:39
  • The initial is dynamic, will depend on user's name, hence not possible in xml as suggested by the link you shared. thanks @Manikandan – Dr4ke the b4dass Apr 13 '21 at 15:49
  • 1
    refer this link -> https://stackoverflow.com/questions/41345006/how-can-i-add-a-menu-dynamically-to-bottom-navigation-view ..instead of add icon (R.drawable.icon) use (selector refer previous link).. – Manikandan Apr 13 '21 at 15:58

0 Answers0