- #749: Quick fix for the issue where bb_showShadow set to false didn't have any effect. Thanks @yombunker!
- #713: Ripple touch feedback for tabs!
- #716: Bugfix for misbehaving shadow. No more weird white spaces above the bar!
- #717: Support for tabs with icons only, without titles!
- #722: Showing / hiding the BottomBar when on shy mode.
- #714: Controlling whether Toasts of tab titles are shown when long pressing tabs.
- #719: Fix for wrong size in tabs
- #712: Data binding fixes.
Thanks for @yombunker, @MarcRubio and @tushar-acharya for their contributions!
- Ability to change icons when the tabs are selected, using drawable selectors
- Overriding tab selections is now supported, by using TabSelectionInterceptor
- Internal code quality improvements and small changes
- Ability to change icons when the tabs are selected, using drawable selectors
- Overriding tab selections is now supported, by using TabSelectionInterceptor
- Internal code quality improvements and small changes
- Ability to change icons when the tabs are selected, using drawable selectors
- Overriding tab selections is now supported, by using TabSelectionInterceptor
- Internal code quality improvements and small changes
- Merged #703 that allows controlling badge visibility for tabs that are active.
- A quick fix for a really critical bug that could affect some devices. More specifically, this one.
- Fixed a bug in the Badge positioning, causing the Badges to clip when there was many tabs.
- Fixed a bug where the lower portion of unselected titles were clipped off in fixed mode.
- Made changes to Badge restoration logic to fix 445. Credit goes to @Kevinrob for reporting and helping to reproduce the issue.
- Fixed #448, #471, #436 and #591
- Fixed a faulty behavior where the tabs' widths were calculated according to phone screen width, but should've been calculated according to the parent view's width by merging #504
- Optimized the tab resizing calculations; now the tabs aren't needlessly removed and readded, only the layout params get changed.
- Merged #468 and #457
- Fixed #554 by merging #512.
- Made most of the BottomBarTab methods public.
- Now we're animating the color change on tab titles and icons.
- Fixed a bug where the BottomBar wouldn't hide completely when it was both shy and drawing under navbar.
- Made possible to inflate the BottomBar programmatically.
- Made it possible to control whether the shadow is shown or not.
- Made setItems to be public to allow writing tests without a designated Activity
- Made setters for allowing setting tab colors, alphas, textappearances and typefaces programmatically.
- Increased test coverage a little bit.
- Fixed a bug where the tab selection listener is set and multiple tabs could be selected at once
- Fixed a bug where the reselection listener was fired even it shouldn't have.
- Cleaner code and better APIs
- No more unnecessary stuff or spaghetti mess
- Now the look, feel and behavior is defined in XML, as it should be
- No more nasty regressions, thanks to the automated tests
- Everything is a little different compared to earlier, but it's for the greater good!
See the readme for how to use the new version.
- Started writing some tests. Contributions more than welcome, as I'm still a noob when it comes to testing.
- Merged a PR that adds support for vector drawables
- Merged a PR that adds support for disabling text scale animation
- Merged a PR that adds support for custom background and tab icon colors, and also custom alpha
- Merged a PR that fixes wrong method name for message shown by an exception
- Merged a PR that fixes elliptical Badges.
- Fixed issues #276 and #277
- Fixed a bug that would cause the navigation bar to not be transparent.
- Flattened View hierarchy.
- Throwing a nice little Exception if someone tries to call
noResizeGoodness()
improperly, instead of just failing silently.
- Merged some pull requests.
- Thanks to @henhal, now the unselection bug when using badges is fixed.
- Deprecated the
setItemsFromMenu(@MenuRes int resId, OnMenuTabClickListener listener)
method in favor of two separate methods:mBottomBar.setItems(@MenuRes int resId)
andmBottomBar.setOnMenuTabClickListener(OnMenuTabClickListener listener)
. Not only because deprecating stuff is so fun (it is), but because this actually makes more sense than the old approach. The old approach still works.
- Now the BottomBar is 56dp tall, as it should be! Make sure your icons are 24dp and trimmed, meaning that the whole png size musn't be more than 24dp. So don't use padding around the icon.
- Fixed a minor bug when programmatically selecting a tab.
- Added a
setAutoHideOnSelection(boolean autoHideOnSelection)
method for the BottomBarBadge to control whether it is automatically hidden after the tab that contains it is selected or not. - Titles are now forced to be single line, make sure your title texts are short enough, or else they'll get truncated with a "..." !
- Updated some dependencies and Gradle.
- The show / hide methods now behave nicely with CoordinatorLayout.
- Added alpha animation for the tab titles when using the shifting tabs.
- Now it's possible to use fixed mode (show titles on inactive tabs) even when there's more than three tabs.
- Fixed a critical bug in OnLongClickListener behavior (why didn't I see that before?) when using badges.
- Fixed a critical bug in OnClickListener behavior when using badges.
- Fixed the issue when using badges and the tab resize animation is enabled. Now the badges automatically adjust their position when the tab's size (or position) updates.
- Fixed the ugly layout bug that happened when calling the
setDefaultTabPosition()
orselectTabAtPosition()
methods.
- Sweating my ass off making this library and trying to compete with the other ones.