droidkiranmai / openintents

Automatically exported from code.google.com/p/openintents
0 stars 0 forks source link

OI Shopping List: Note icon goes missing when item name doesn't fit on one line #408

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Create a shopping list with two items: one having a long name which doesn't 
fit on one row, and one having a short name.
2. Create a note for each one.

In the list view, the note icon appears for the short name, but not for the 
long name. User has no way of knowing which long-named items have notes, short 
of diving in to the edit dialog, clicking the note icon, and checking whether 
the displayed note is empty.

Reproduced on Froyo, in emulator and on LG Optimus T. 

Original issue reported on code.google.com by AaronPer...@gmail.com on 25 Nov 2011 at 4:27

GoogleCodeExporter commented 9 years ago
My wife noticed this on one of her lists, which has a lot of long names and a 
lot of notes. It's the lesser of two issues which keep her using HandyShopper 
on Palm instead of switching to OI Shopping List. 

Original comment by AaronPer...@gmail.com on 25 Nov 2011 at 4:31

GoogleCodeExporter commented 9 years ago
Seems to be a bug in RelativeLayout. Our use of RelativeLayout seems to have a 
handful of strange effects. Perhaps it would work better if we could fiddle 
with the relationships programmatically as each list item is being filled in. 

I tried making the note relative to priority-- below it-- instead of name. It 
looks OK, but of course if priority is not shown then things get ugly, with the 
note overlapping the name. Also in cases where the item name does fit on one 
line it would be a better use of space to put the note after the item name. 
Attaching a patch in case you want to see what I am talking about, but I don't 
intend to commit it in this form.

Original comment by AaronPer...@gmail.com on 25 Nov 2011 at 4:38

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by AaronPer...@gmail.com on 25 Nov 2011 at 3:26

GoogleCodeExporter commented 9 years ago

Original comment by peli0...@googlemail.com on 26 Nov 2011 at 12:35