What steps will reproduce the problem?
1. Install OI Notepad
2. Add a very short note e.g. "ABC".
3. Add a very long note
4. Return to the notes list. Long note looks right
5. Click the long note
6. Return to the notes list. Long note is squeezed into length of "ABC".
7. Repeatedly clicking the long note and returning to the notes list will
alternate between the long note looking right and being squeezed.
What is the expected output? What do you see instead?
Long note should always be long, but sometimes is squeezed into tiny space.
What version of the product are you using? On what operating system?
OI Notepad 1.3; seen on Android 2.2 and 2.3.? on a Dell Streak and a Nexus One.
Please provide any additional information below.
I think the problem is in NotesListItemView.hasFocus(). If I replace the
overridden hasFocus with a new method to marquee-ify the title, and call that
method from NoteListCursorAdapter.bindView(), it seems to work fine.
Original issue reported on code.google.com by schneck on 3 Apr 2012 at 3:54
Original issue reported on code.google.com by
schneck
on 3 Apr 2012 at 3:54