Open deshario opened 6 years ago
This way unites the color and size of select and deselect modes
bottomNavigation.setInactiveColor(Color.parseColor("#FFECF1EB"));
bottomNavigation.setAccentColor(Color.parseColor("#FFECF1EB"));
bottomNavigation.setTitleTextSize(27,27);
bottomNavigation.setCurrentItem(-1);
will do the trick.
bottomNavigation.setCurrentItem(-1); returns java.lang.ArrayIndexOutOfBoundsException: length=10; index=-1, any other way to clear the selected icon?
Select First Item :
bottomNavigation.setCurrentItem(0);
How can i deselect all the items ... something like clear selection .. Can i do that ....