AHBottomNavigation
Library to implement the Bottom Navigation component from Material Design guidelines (minSdkVersion=14).
What's new (2.1.0)
- Update libraries versions
- Add enable/disable tab state (with custom color)
- Add new xml attributes (
colored
,accentColor
,inactiveColor
,disableColor
,coloredActive
,coloredInactive
) - Add param
notificationAnimationDuration
- Update getDrawable method with
AppCompatResources.getDrawable(context, drawableRes);
If you use drawable selector and target API < 21, don't forget to add this:
AppCompatDelegate.setCompatVectorFromResourcesEnabled(true);
Features
- Follow the bottom navigation guidelines
- Add 3 to 5 items (with title, icon & color)
- Choose your style: Classic or colored navigation
- Add a OnTabSelectedListener to detect tab selection
- Support icon font color with "setForceTint(true)"
- Manage notififcations for each item
- Enable/disable tab state
How to?
Gradle
XML
OR