sketchub icon

TagGroupView

Ahmad079866
19 Likes
0 Comments
63 Downloads

Screenshots

About

๐Ÿ”ฅ TagGroupView โ€” a convenient widget for tags on Android!

<custom.tag.view.TagGroupView android:id="@+id/tagGroupView" android:layout_width="match_parent" android:layout_height="wrap_content"/>

Add, remove, and style tags beautifully and easily ๐ŸŽจ

โœ… Functions:

โž• Adding tags: addTag(Tag tag)

โŒ Removing: removeTag(int position)

๐Ÿงน Clearing: clear()

๐ŸŽจ Style settings: text color, background, border, text size, rounding, close icon

๐Ÿ”’ Closing tags: setClosable(true)

๐Ÿ“ Getting data: names, colors, full details

๐Ÿ“ Spacing between tags: setHorizontalSpacing(), setVerticalSpacing() ๐Ÿ‘‚ Removal listener: setOnTagRemoveListener()

๐Ÿ’ป Usage example:

tagGroupView.addTag(new Tag("Android", Color.BLUE)); tagGroupView.setTextColor(Color.WHITE); tagGroupView.setBackgroundColor(Color.DKGRAY); tagGroupView.setCornerSize(16f); tagGroupView.setClosable(true);

You can learn more in the skpro project.

Telegram: https://t.me/sketchware95

©2025 Sketchub | User Policy