Foursquare-CollectionPicker icon indicating copy to clipboard operation
Foursquare-CollectionPicker copied to clipboard

item width is calculated wrong when cp_simplified=true

Open jacky-ttt opened this issue 9 years ago • 0 comments

in the CollectionPicker class, it uses itemWidth += Utils.dpToPx(getContext(), 30) + textPaddingLeft + textPaddingRight; to calculate the itemWidth.

it does not consider the situation that there could be no item_icon. it should use 0dp to calculate the item's width when simplifiedTags is true.

jacky-ttt avatar Jul 12 '15 11:07 jacky-ttt