[android-developers] Re: scrolling listview loses background color/drawable

2008-10-07 Thread Tauno T
Added as issue 946 if anyone is interested.. http://code.google.com/p/android/issues/detail?id=946 Tauno On Sep 29, 10:27 am, Tauno T [EMAIL PROTECTED] wrote: There must be something else you're doing that was wrong. Can you please explain what's wrong in this setup? :) New project. *

[android-developers] Re: scrolling listview loses background color/drawable

2008-09-29 Thread Tauno T
There must be something else you're doing that was wrong. Can you please explain what's wrong in this setup? :) New project. * main.xml: ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=fill_parent

[android-developers] Re: scrolling listview loses background color/drawable

2008-09-26 Thread Tauno T
Has anyone figured out a workaround for this? I'm running out of ideas myself :( On Sep 24, 11:24 am, Tauno T [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

[android-developers] Re: scrolling listview loses background color/drawable

2008-09-26 Thread Tauno T
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

[android-developers] Re: scrolling listview loses background color/drawable

2008-09-26 Thread Romain Guy
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

[android-developers] Re: scrolling listview loses background color/drawable

2008-09-26 Thread Tauno T
Here you go: ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent android:background=@drawable/some_image

[android-developers] Re: scrolling listview loses background color/drawable

2008-09-24 Thread hackbod
The color you have (#000) is solid black. Use # for a completely transparent color. On Sep 23, 9:33 pm, Nickname [EMAIL PROTECTED] wrote: Thank you, butit does NOT fix the problem. Here is what i added to layout xml of the listview:         ...        

[android-developers] Re: scrolling listview loses background color/drawable

2008-09-24 Thread Tauno T
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=# to the LinearLayout has no effect. On Sep 24, 11:02 am,

[android-developers] Re: scrolling listview loses background color/drawable

2008-09-23 Thread Nickname
Thank you, butit 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,