2dxgujun / androidtaggroup Goto Github PK
View Code? Open in Web Editor NEW:four_leaf_clover:A beautiful android tag group widget.
License: Apache License 2.0
:four_leaf_clover:A beautiful android tag group widget.
License: Apache License 2.0
Hi,
There is a problem with adding new tags using Google Keyboard apparently. The library should have two types of listener, onTouch and onClick events. There is no problem on the emulator but on real device I cannot add new tags by clicking on empty area or pressing the enter key.
TagView 类 修饰 符 不正确,OnTagClickListener 使用了 TagView 参数 导致 外部无法加监听
How can detect item click event ?
Hi,
i have to change the default Typeface of textview, is it possible?
Thanks
按住TagView滑动,松开后背景色未恢复为未按下状态
应该是TagView没有处理ACTION_CANCEL事件
As i sync the gradle after entering your library it gives me error as,
'Error:(1) Attribute "textColor" has already been defined'
'Error:(1) Attribute "backgroundColor" has already been defined'
Error:Execution failed for task ':app:processDebugResources'.
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\PL\AppData\Local\Android\sdk\build-tools\21.1.2\aapt.exe'' finished with non-zero exit value 1
I checked my color.xml which doesn't have any attribute like 'textColor' or 'backgroundColor'
Help please!
Create any TagGroup - at least one tag inside.
Touch this tag, without releasing touch move finger outside of TagGroup view - tag stays selected (highlighted). Expected was to tag stop being selected when finger leaves particular tag area.
hi
I need create tag for rtl language
how can i do?
在isAppendMode == false时,点击改变选中和非选中状态 该怎么做,不需要出现×
How can I change font-family for the text inside the tags?
I tried putting it along with style as below
<style name="TagGroup.Beauty_Red" parent="TagGroup">
<item name="android:fontFamily">sans-serif-smallcaps</item>
</style>
<style name="TagGroup.Beauty_Red.Inverse" parent="TagGroup">
<item name="android:fontFamily">sans-serif-smallcaps</item>
</style>
but couldn't get it to work. How can I change this font-family?
在项目中集成了你的taggroup,但是在源码中没找到进行设置背景样式的代码以及如何多选?选择后可否删除?
Hi I want to remove cross icon when tag is checked?
Is their any drawable added for we can do it with code.
The PM let me limit the content to 2 lines,so how can I do it?Thanks.
产品需要限制显示2行,怎么限制呢?谢谢~
I believe it would be beneficial to control radius and to be able to switch rounded corners on and off.
(Didn't pick the lib because of this, although overall the lib is great.)
All items is align left. Please set option to center (gravity).
设置了
app:atg_borderColor="#4accc4c4"
app:atg_checkedBorderColor="#4db472"
app:atg_checkedTextColor="#4db472"
app:atg_textColor="#4accc4c4"
这几个效果,发现点击效果不起作用,同时希望在listener里面能返回这个tag的对象 这样也能自己做处理
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 ?
OK, I solve this by adding a parent layout.
But there is another problem, if I have more than one line tags, the second line only have one tag. How to make it in the middle too ?
当isAppendMode="false"时。如何设置点击后更改背景色
hi, thanks for this great lib!
i wanna ask, is it possible to use multi color for each item in tag list?
for example i have 5 tags, i want first and second tag is red background with black list and white color text, while third one is red list with transparent background and black text, rest of all is random.
thanks!
I want to make the tags read-only. I don't want the touch effects that occur when the tags are pressed. Is there a way for that ? @2dxgujun
I've recently been working on this library a bit for a side project of mine and thought I'd share the link over here, as the author doesn't seem to be active any more: https://github.com/Eddydpyl/AndroidTagGroup
I'm unsure if this constitutes a problem or if I'm violating any rules by doing so, I'm fairly new here. If so, please do tell me and I'll delete this Issue. Else I'd encourage you to try my fork over the original, as I'm actively developing and may be able to fix any issues you find.
how can i add "new tag" ability to this component
i saw a picture at home page and i saw new tag box
but i didn't see any property for that
Hello, how would I call the submitTag() using an EditText? So I want to take the value of an EditText, and in the onClick listener of the EditText take the value and create a new tag for it. How can I pass this value to submitTag()?
Hi awesome library but how to remove the underline of the text inside the tagview.
If a tag is clicked, while within a scroll view, and then that scroll view is scrolled, it will remain highlighted.
For example: if I am scrolling, and then I scroll by touching a tag and flicking upwards or downwards, then the tag will remain highlighted afterI have removed my finger.
上传到maven**仓库,上传的是apk包,而不是jar包,这是怎么回事?
I noticed the tag is on multiline. Is there anyway to disable multiLine, just leave it as always on single line mode? I am modifiying the library and put singleLine(true), the result is what I need but it will break the tag layout.
Any way to find click position ?
Hi,
I want to limit adding tags. How can I do this? Thanks.
Hi very cool library how to change the shape of the tag like from elliptic square to just square ...
Checked background and text color is not working. I tried to place it in the XML layout but it doesn't work.
tagview能放出来自定义吗
I am a newbie with Android Studio. Could you explain in more details what are the exact and detailed steps to use your library in my Android Studio Project ? Thanks !!!!
I am using mTagGroup.getInputTagText() but its returning empty why?
感谢你的库。
如题,标签样式加入方形(或者角度的参数)应用场景会更全
已经找到解决方法, 在 onDestory()中将里面的标签清空
@OverRide
protected void onDestroy() {
super.onDestroy();
tagGroup.setTags("");
}
Hello,
Thank you for this View!
But I can't find out to actually add a new tag (as a user) to a TagGroup. I have the input tag to enter a title, but I don't know how to "submit" the new tag. On my keyboard I only have an "Enter" key, which adds a new line. Did I forget to set something?
<me.gujun.android.taggroup.TagGroup
android:id="@+id/user_tags"
style="@style/MyTagGroup"
android:minHeight="200dp"
TagGroup的高度没变。
怎样禁止 AndroidTagGroup 捕获点击事件?
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.