Comments (4)
感谢反馈。
左对齐是什么意思,没太理解,最好可以截个图...
已添加 TagCloudView.singleLine(boolean) 方法,可以动态设置单行或多行显示。暂未上传到 JCenter
from tagcloudview.
就像这个issue的网页排版一样,我们现在打出来的字都是从左往右排列过去。排列贴着最左边开始往后面排。
现在单行模式下多个标签并不是从左边开始排的,而是如一开始说的那样子。
换到android里是
android:gravity="left"
from tagcloudview.
单行模式的效果跟效果图不一样吗?这个效果图就是左对齐的啊...
from tagcloudview.
不一样,参数设置如下
<me.next.tagview.TagCloudView
android:id="@+id/tag_cloud_view_4"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:tcvBackground="@drawable/background_tag_selector"
app:tcvTextColor="#42A5F5"
app:tcvShowRightImg="false"
app:tcvSingleLine="true"
app:tcvTextSize="10px"
/>
其他不变,就下面的改成多行的就正常了。
app:tcvSingleLine="false"
from tagcloudview.
Related Issues (20)
- 貌似用不了了??
- 请问这几个属性代表啥意思?
- 如何设置文字距离边框的距离啊?
- 屏幕适配做不了啊
- 每个tag的样式能否单独设置 HOT 1
- setTags(List<String> list) 只能是String? HOT 1
- Can i get the following results from this library? HOT 1
- 如何自己设置几行呢?比如我现在就只让他展示两行,但是数据现在有很多,而且后面的都不展示,这种你那边有吗?
- 不支持动态调整tcvShowEndText和tcvShowRightImg的值
- 怎么点击换颜色啊
- 6.0以下手机在RecycleView中使用onMeasure会多次执行 造成滑动卡顿
- 楼主可否考虑在生成的tag右上角增加一个小“x”图标用于移除tag?
- log打印bug
- 消除onMeasure, onLayout, onDraw中的对象创建,而不是@SupressWarning
- Gravity in center?
- 单位 bug HOT 2
- RelativeLayout布局下添加tag不会自动扩大 HOT 1
- onTagClick()可否把view传进来?
- 设置为不显示还是会有高度
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tagcloudview.