Closed KANGOD closed 8 years ago
Thanks for pr, I will handle this issue in next version. :)
Yeah, also check this: https://github.com/KANGOD/Android-Cloud-TagView-Plus/commit/fb906c36564bf9df1b1a95520adedf494e0b55bc line 240 of TagView.java
I came up with a tag Te...
instead of Test2
at end-of-line. With only 5px's mistake. Sigh poisonous boundary condition.
Actually, the calculation need some improvement. Thank you for the details.
I think I have to create a dev branch so that any improving code can be added easily/
TagView
withdeletableView
will make a new line too early, sincetagWidth
is calculated in mistake. In line 228, there should be+ offset + (textPaddingRight + offset)
instead of+ textPaddingLeft + textPaddingRight
. Dynamically getPaddingLeft
andPaddingRight
ofdeletableView
, so you can change it's padding in future without modify this code snippet.