android-tagview alternatives and similar packages
Based on the "Tag Widget" category.
Alternatively, view android-tagview alternatives based on common mentions on social networks and blogs.
-
Android-Cloud-TagView-Plus
An Android TagView Widget. You can edit the tag's style, and set listener of selecting or deleting tag. -
HashTagHelper
This is a library designed for highlighting hashtags ("#example") and catching click on them.
InfluxDB - Power Real-Time Data Analytics at Scale
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of android-tagview or a related project?
README
Android TagView
Simple android view to display collection of colorful tags efficiently.
Library uses TextView
as a base, and creates custom Spanes
to achieve such effect. It is usable as static view in the layout,
as well in the list element without significant negative effect on it's performance.
Example usages can be found in example project.
Screenshots
[Screenshot](screenshot.png "Screenshot")
Usage
Basic usage
Add view to your layout. You can manipulate content with setTags
method.
TagView tv = (TagView) getView().findViewById(R.id.tags_view);
TagView.Tag[] tags = {
new TagView.Tag("Sample tag", Color.parseColor("#0099CC")),
new TagView.Tag("Another one", Color.parseColor("#9933CC"))
};
tv.setTags(tags, " ");
To use default style of TagView, include this attribute in your theme:
<item name="tagViewStyle">@style/Widget.TagView</item>
Customization
TagView is derived from TextView, so all it's attributes should work.
Most important ones are textSize
, textStyle
and textColor
.
Additional view properties are:
tagCornerRadius
- making corner roundtagPadding
- adding padding around the tagtagUppercase
- making every tag uppercase.
You can inherit sane default values using style @style/Widget.TagView
as a parent.
Licence
Copyright 2013 Michał Charmas
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*Note that all licence references and agreements mentioned in the android-tagview README section above
are relevant to that project's source code only.