MaterialChipsInput icon indicating copy to clipboard operation
MaterialChipsInput copied to clipboard

DetailedChipView not positioned correctly in Android 4.4

Open joaolisboa opened this issue 7 years ago • 3 comments

This issue seems to occur only in Android 4.4. Here is a screencap of what it looks like:

vivaldi_2017-05-22_17-55-23

joaolisboa avatar May 22 '17 16:05 joaolisboa

I see this bug on API 23.

or-else avatar May 30 '17 03:05 or-else

Haven't tried it to be honest. I've been running on API 25 and usually testing on API 19 to ensure compatibility and that's where the issue popped up for me.

joaolisboa avatar May 30 '17 11:05 joaolisboa

In ChipsAdapter.java line no: 222, replace the line with below code: v.getLocationOnScreen(coord);

also at line 264 and 265 replace with below code: layoutParams.leftMargin = coord[0] + ViewUtil.dpToPx(13); layoutParams.topMargin = coord[1] + ViewUtil.dpToPx(40);

rahulas avatar Dec 27 '17 08:12 rahulas