You might notice it on an actual phone. You should not have to disable
the scrolling cache. There must be something else you're doing that
was wrong. Normally, disabling the cache color hint is all you need to
do. Could you show me your XML layout file?

On Thu, Sep 25, 2008 at 11:41 PM, Tauno T <[EMAIL PROTECTED]> wrote:
>
> Ok, managed to fix it by adding android:scrollingCache="false" to the
> ListView. From the dox it seems that it makes scrolling a little
> slower but I didn't notice any difference (have a list with ~100
> entries) - I guess it's too small to notice with my primitive list :)
>
> On Sep 26, 9:30 am, Tauno T <[EMAIL PROTECTED]> wrote:
>> Has anyone figured out a workaround for this? I'm running out of ideas
>> myself :(
>>
>> On Sep 24, 11:24 am,TaunoT<[EMAIL PROTECTED]> wrote:
>>
>> > I'm having the same issue.
>> > A ListView is inside of a LinearLayout and the LinearLayout has a semi-
>> > transparent background.
>> > The background diappears while scrolling the ListView with the mouse.
>>
>> > Adding android:cacheColorHint="#00000000" to the LinearLayout has no
>> > effect.
>>
>> > On Sep 24, 11:02 am, hackbod <[EMAIL PROTECTED]> wrote:
>>
>> > > The color you have (#000) is solid black.  Use #00000000 for a
>> > > completely transparent color.
>>
>> > > On Sep 23, 9:33 pm, Nickname <[EMAIL PROTECTED]> wrote:
>>
>> > > > Thank you, but....it does NOT fix the problem.
>>
>> > > > Here is what i added to layout xml of the listview:
>>
>> > > >         ...
>> > > >         android:background="@drawable/background"
>> > > >         ...
>> > > >         android:cacheColorHint="#000"
>> > > >         ...
>> > > >         android:layout_width="fill_parent"
>> > > >         ...
>>
>> > > > On Sep 23, 4:53 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote:
>>
>> > > > > Set ListView's cache color hint to 0.
>>
>> > > > > On Sep 23, 2008 6:26 PM, "Nickname" <[EMAIL PROTECTED]> wrote:
>>
>> > > > > It happens to android emulator, on xp as i know.
>>
>> > > > > I depress mouse pointer to scroll a listview. While it scrolls, the
>> > > > > background drawable disappers. When i release the mouse, the
>> > > > > background still disappear till i move mouse to touch the screen.
>>
>> > > > > This is a harmless issue but makes me uneasy.
> >
>



-- 
Romain Guy
www.curious-creature.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to