We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问可以设置一个标签最大显示字数吗,最后用....显示
The text was updated successfully, but these errors were encountered:
如果没有方法直接修改标签属性,你可以通过下面这种方式修改,每个标签都是一个TextView,TextView的属性都可以设置
labelsView.setLabels(testList, new LabelsView.LabelTextProvider<TestBean>() { @Override public CharSequence getLabelText(TextView label, int position, TestBean data) { // label就是标签项,在这里可以对标签项单独设置一些属性,比如文本样式等。 //根据data和position返回label需要显示的数据。 return data.getName(); } });
Sorry, something went wrong.
No branches or pull requests
请问可以设置一个标签最大显示字数吗,最后用....显示
The text was updated successfully, but these errors were encountered: