kingideayou / tagcloudview Goto Github PK
View Code? Open in Web Editor NEW支持 SingleLine 模式的标签云效果
Home Page: http://kingideayou.github.io/TagCloudView/
支持 SingleLine 模式的标签云效果
Home Page: http://kingideayou.github.io/TagCloudView/
可以发布到maven center啊 那样便于使用
app:tcvItemBorderHorizontal="8dp"
app:tcvItemBorderVertical="6dp"
app:tcvBorder="8dp"
RelativeLayout布局中其他布局在TagCloudView下面,添加标签后TagCloudView会超出原大小并覆盖在下方控件之上
问题在于以下两句:
mTagSize = a.getDimension(R.styleable.TagCloudView_tcvTextSize, DEFAULT_TEXT_SIZE);
tagView.setTextSize(TypedValue.COMPLEX_UNIT_SP, mTagSize);
mTagSize是pixel为单位的,和后一句的单位不匹配
虽然可以通过getChildAt(position)获得view,但还是没那么方便
如标题
log打印buglog打印buglog打印buglog打印buglog打印buglog打印buglog打印bug
If I just add a tag, this view will align to the left of screen. But I want it in the middle of the screen. How to do that?
And if I have more than one line tags, the second line only have one tag. How to make it in the middle too?
只有被选中的 换背景颜色
tag.setVisibility(View.GONE); 还是会有高度
提升性能,把轮子造得更好 😄
setTags(List list) 只能是String?
不能是自定义的对象吗?采用toString()方法返回tag可以嘛?
如题
请问博主,如何通过程序代码动态调整如下属性
app:tcvShowEndText="true"
app:tcvShowRightImg="true"
可否暴露公共方法?
如题,目前单行模式下在1080p的设备上标签居中偏左一点排列,在480p设备上偏右排列。
多行模式下正常。
怎么回事啊》》??我导入不成功!!用了2种方式
第一种,直接 compile 'com.github.kingideayou:tagcloudview:1.0.2'
不行。
第二种,首先下载 tagView,将 tagView 文件夹拷贝到项目的目录下面,然后在setting.gradle文件中增加文件夹名称
include ":tagview"
然后在我们需要依赖这个模块的module中的build.gradle文件中加入如下代码:
compile project(':tagview')
也不行
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.