Add a tag cloud to an Android product page for showing categories or filter chips
Build a multi-select interest picker for an Android onboarding or profile screen
Display a flowing list of labels on an Android search results screen
Show a collection of small labeled elements without writing custom layout logic
Library is unmaintained at version 1.1.2, evaluate forks or alternative libraries before using in a new long-term project.
FlowLayout is an Android UI library that provides a tag cloud or flow-based layout for displaying items that wrap onto new lines as they fill horizontal space. It is commonly used for product tags, filter chips, interest labels, or any situation where you want to show a collection of small labeled elements in a flowing arrangement rather than a fixed grid or list. The library works through an adapter pattern similar to what Android developers use for lists: you supply data and a view for each item, and the layout arranges them automatically. Tags can respond to taps, and the component supports single-select, multi-select, or no selection limit, controlled by a single attribute. Selected state is handled through Android state drawables, the same mechanism used by checkboxes, so the visual appearance of selected versus unselected tags can be controlled entirely in an XML layout file without extra code. Other features include callbacks for tap events and selection changes, the ability to pre-select specific items at startup, and support for refreshing the displayed items when the underlying data changes. Selected state is preserved when the screen rotates or the activity is recreated, which is a common pain point for interactive components in Android development. The README is written primarily in Chinese. The project description notes that this library is no longer maintained. The last version available through the standard dependency system is 1.1.2. Developers looking for an actively supported alternative would need to search for a current replacement, as no successor project is mentioned in the README.
← hongyangandroid on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.