BottomNavigationView Original icon color

前端 未结 5 1851
孤独总比滥情好
孤独总比滥情好 2020-12-10 03:31

I have my bottomNavigationView :

And i added this class to prevent it from doing shiftingMode :

public class BottomNavigationViewHelper {
           


        
5条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-10 04:17

    The accepted answer worked but that method is now deprecated.

    The new way to enable the original icon colors is:

    bottomNavigation.setForceTint(false);
    

提交回复
热议问题