openintents / shoppinglist

OI Shopping List
http://openintents.org/shoppinglist
64 stars 49 forks source link

List content not fully shown #39

Open friedger opened 7 years ago

friedger commented 7 years ago

Items with quantity and price are not fully shown.

Seems like wrap content is not working.

See https://plus.google.com/114518142425505141415/posts/Kp2W2sMNLeD

aperomsik commented 7 years ago

Same layout code was working fine before Marshmallow. Not sure but I suspect the real problem might be with priority. Also the issue is somewhat transient: the same items might appear OK temporarily after something in the list changes. For example mark one item as bought, others on the screen get their layout adjusted and aren't cropped as much. In some cases just returning to the home screen and then going back to OI Shopping List is enough to trigger a layout refresh.

friedger commented 7 years ago

I suspect some of the ClickableSpans not to report the correct size

On 1 May 2017 15:23, "Aaron Peromsik" notifications@github.com wrote:

Same layout code was working fine before Marshmallow. Not sure but I suspect the real problem might be with priority. Also the issue is somewhat transient: the same items might appear OK temporarily after something in the list changes. For example mark one item as bought, others on the screen get their layout adjusted and aren't cropped as much. In some cases just returning to the home screen and then going back to OI Shopping List is enough to trigger a layout refresh.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/openintents/shoppinglist/issues/39#issuecomment-298332756, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYcWQiELGAbbMBNS6BsOHkyCh_otrdqks5r1dzRgaJpZM4NM9VF .

friedger commented 7 years ago

There is still sometimes an issue with long items.