- BREAKING! Updated listener, now return a boolean =>
boolean onTabSelected(int position, boolean wasSelected); - Improved notification management for small items
- Added notification elevation
- Managed complex drawable (selector with states)
- Added constructor
public AHBottomNavigationItem(String title, Drawable drawable)
- Added
setUseElevation(boolean useElevation, float elevation) - Fixed a bug with
behaviorTranslationEnabled&restoreBottomNavigation - Improved translation behavior when the Scroll View is not long enough.
- Fixed bug when switching between normal and colored mode
- Fixed method typo
setNotificationMarginLef=>setNotificationMarginLeft - Avoid multiple call for showing/hiding AHBottomNavigation
- Updated Notification: now accept String (empty String to remove the notification)
- Deprecated integer for Notification
- Removed deprecated methods & interface for
AHBottomNavigationListener - Fixed touch ripples when the bottom navigation is colored
- Cleaned colors.xml to avoid conflicts
- Removed constructor AHBottomNavigationItem()
- Added
setTitleTextSize(float activeSize, float inactiveSize) - Added
setNotificationMarginLeft(int activeMargin, int inactiveMargin)
- Added
hideBottomNavigation(boolean withAnimation) - Added
restoreBottomNavigation(boolean withAnimation)
- Added
public AHBottomNavigationItem getItem(int position)to get a specific item - Added
public void refresh()to force a UI refresh
- Improved
hideBottomNavigation()andrestoreBottomNavigation() - Added
setTitleTypeface - Changed method name
setNotificationBackgroundColorResourcebysetNotificationTypeface - Started working on
onSaveInstanceStateandonRestoreInstanceState(currentItem & notifications for now)
- Added hideBottomNavigation()
- Added CURRENT_ITEM_NONE to unselect all items
- Improved Notifications (animation, size)
- Updated lib dependencies
- Fixed Snackbar when setBehaviorTranslationEnabled(false)
- Fixed animations on pre Kit Kat
- Added an example with Vector Drawable
- Fixed layout rendering with fragments
- Compatible with Snackbar
- Compatible with Floating Action Button
- Snackbar is now compatible
- Added: setCurrentItem(int position, boolean useCallback)
- Added: setUseElevation(boolean useElevation)
- Added: restoreBottomNavigation()
- Fixed setForceTint()
- Fixed crash when setForceTitlesDisplay(true)
- Improved UI
- Bug fixes
- Notifications
- Minimum SDK version: 14
- AHBottomNavigation was under development.