Thanks a lot that did the trick.

On Thu, Mar 4, 2010 at 12:51 PM, reyden <[email protected]> wrote:

> Trz setting
>
> android:cacheColorHint="@android:color/transparent"
>
> attribute for your ListView element...
>
> On Mar 4, 5:26 pm, social hub <[email protected]> wrote:
> > Hi
> >
> > I have a listview and its populated with a customview.
> >
> > I set a background picture on my listview.
> >
> > My issue is when I hold and scroll the background turns black and it
> doesnt
> > show the listivew background
> >
> > I tried the following
> >
> > a) set the background of customview to a picture
> >
> > in this case it shows the background for the customview which is fine but
> I
> > like to see the background of listview
> > not the background of customview.
> >
> > if i dont set the background of customview when I scroll it always shows
> the
> > black background when i hold and scroll
> >
> > b) set the background of customview to color.transparent
> >
> > this also doesnt seem to make  a difference. The thought behind it was
> since
> > the background is transparent it
> > will show the backgrouund of listview.
> >
> > Customview is extended from view and I do my own custom drawing in ondraw
> > method following a call to super.onDraw(canvas)
> >
> > Ideally I dont want to set any background on my customview and I would
> like
> > to see the background of listview or the linearlayout which holds the
> > listview .
> >
> > I am new to these graphics stuff and it may sound dumb.
> >
> > Please let me know what can I do to fix this.
> >
> > Thanks in advance for your help
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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