Add a smooth sliding tab bar to an Android app that syncs with swipeable pages
Show notification badges on individual tabs to indicate unread items
Build a segmented control style navigation for a settings or filter screen
Add icon-and-label tabs with animated transitions without building the component from scratch
FlycoTabLayout is an Android library that provides tab bar components for mobile apps. Tabs are the row of labeled buttons you often see at the top or bottom of an app that let you switch between different sections. This library gives Android developers three different tab bar styles to choose from and drop into their apps. The first style, SlidingTabLayout, is a tab bar that works together with a swipeable page view. When a user swipes between pages or taps a tab, the active tab indicator slides smoothly to the new position. It supports several different indicator shapes and can show small notification badges on individual tabs to indicate unread items. The second style, CommonTabLayout, is more flexible because it does not require the swipeable page view at all. It can be paired with any other screen component. This version also supports icons next to the tab labels, with control over whether the icon appears to the left, right, above, or below the text. It includes animated indicator transitions with optional bounce effects. The third style, SegmentTabLayout, provides a segmented control appearance, similar to the button-group style tabs common in iOS apps. All three styles offer a wide range of visual customization through XML attributes: indicator color and size, underline styling, dividers between tabs, text color for selected and unselected states, and spacing options. Adding the library to an Android project requires one line in the build dependencies. The library was updated in 2021 to use the current AndroidX support libraries and is published on Maven Central.
← h07000223 on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.