Open GoogleCodeExporter opened 9 years ago
This might be the problem, or something similar to it:
[From a Google I/O 2010 presentation on listviews]
Gotcha
My list turns black?!
• Very useful optimization
– When scrolling views are cached in bitmaps
– Opaque bitmaps to avoid blending
• Solution
– android:cacheColorHint=”#00000000”
– android:cacheColorHint=”@color/myBackgroundColor”
Original comment by aviraldg
on 30 Nov 2011 at 2:59
I would like to work on this for a task in Google Code In:
http://www.google-melange.com/gci/task/view/google/gci2011/7134322
Original comment by dtvri...@gmail.com
on 28 Dec 2011 at 6:58
I just confirmed that it works properly also on Android 3.2, so it seems to be
a problem of Android 2.3.x and below.
Also, in order to reproduce this, one may need a long list of notes and start
scrolling. I had an incidence where I first could see the note titles, but when
I started scrolling up and down repeatedly, more and more note titles vanished
(in Android 2.3.6, Nexus One).
Original comment by peli0...@googlemail.com
on 31 Dec 2011 at 6:14
This issue was updated by revision r3965.
The first problem mentioned for Android 4.0 is solved:
The issue is mentioned in the page of issue #405:
"If you switch to settings,
change the marquee setting, and press back, the change is not visible
immediately. One has to leave the application and start OI Notepad again."
Steps to reproduce the problem:
Open notepad application
- create one note with longer title
- menu-> settings -> enable/or disable marquee setting
- Hit Back, view switch to notepad again from setting
- look at the title of the note, marquee setting is not take effect,
- but if you close notepad application and open it again, marquee is observed
for note title.
Root cause:
Marquee handling for title is in constructor, but the constructor is not
getting called when the view is changed back from Settings to the notepad
application. This causes the
marquee setting to not take effect after switching back from Settings to the notepad view.
Solution:
Move the marquee handling constructor to hasFocus(), which is called whenever
the notepad view gets focus.
Verification:
1. Enable/disable marquee from Settings, go back to the notepad view, marquee
enable/disable should be observed on title
2. Enable/disable marquee from Settings, close notepad application, open
notepad application again, marquee enable/disable should be observed on title
Original comment by peli0...@googlemail.com
on 1 Jan 2012 at 7:22
Original issue reported on code.google.com by
peli0...@googlemail.com
on 23 Nov 2011 at 1:44