Hi there,
I'm following your tutorial but the (1.) colors are not working, and a BIG issue, (2.) the content is under the navigation and (3.) the tab items are not animating:
AHBottomNavigationItem parkItem = new AHBottomNavigationItem(getString(R.string.stg_Parks), R.mipmap.ic_park); AHBottomNavigationItem locationItem = new AHBottomNavigationItem(getString(R.string.stg_Location), R.mipmap.ic_location); AHBottomNavigationItem newsItem = new AHBottomNavigationItem(getString(R.string.stg_News), R.mipmap.ic_news); AHBottomNavigationItem informationItem = new AHBottomNavigationItem(getString(R.string.stg_Information), R.mipmap.ic_information);
bottomNavigation.addItem(parkItem);
bottomNavigation.addItem(locationItem);
bottomNavigation.addItem(newsItem);
bottomNavigation.addItem(informationItem);
bottomNavigation.setDefaultBackgroundColor(ContextCompat.getColor(this, R.color.dark_blue));
//bottomNavigation.setBehaviorTranslationEnabled(false);
bottomNavigation.setAccentColor(ContextCompat.getColor(this, R.color.blue));
bottomNavigation.setInactiveColor(ContextCompat.getColor(this, R.color.white));
bottomNavigation.setForceTint(true);
bottomNavigation.setForceTitlesDisplay(true);
bottomNavigation.setColored(true);
bottomNavigation.setCurrentItem(0);
Hi there,
I'm following your tutorial but the (1.) colors are not working, and a BIG issue, (2.) the content is under the navigation and (3.) the tab items are not animating:
AHBottomNavigationItem parkItem = new AHBottomNavigationItem(getString(R.string.stg_Parks), R.mipmap.ic_park); AHBottomNavigationItem locationItem = new AHBottomNavigationItem(getString(R.string.stg_Location), R.mipmap.ic_location); AHBottomNavigationItem newsItem = new AHBottomNavigationItem(getString(R.string.stg_News), R.mipmap.ic_news); AHBottomNavigationItem informationItem = new AHBottomNavigationItem(getString(R.string.stg_Information), R.mipmap.ic_information);