I also have the imageviews visibility set to GONE and when the user
does a long click it makes the image appear.  Does having the
imageview be GONE have anything to do with my odd behavior?  Also,
does it matter that the layout containing the textview and imageview
is a RelativeLayout?

On Jun 15, 5:54 pm, Wall-E <[email protected]> wrote:
> Thanks for the suggestion but that didn't work.  I set the clickable
> attribute to the parent view of the image and text views and still no
> luck.
>
> So another point I noticed is that if I change the focus by bringing
> up a dialog and keyboard(to enter text in an edit field for example)
> and then close the dialog, the listview will resume working properly.
> This is what makes me think its a focus issue but it seems that I've
> tried almost all the possible settings of having each view be
> focusable or not.  What I don't understand is what could possibly be
> causing this if it works initially but as soon as I scroll to a
> listview item outside the initial view layout it stops working.  This
> is very odd and seems like a bug but obviously other people have
> created a custom listview to work so I don't know...
>
> Can anybody point me to a good listview example that contains text and
> an imageview and is not using a ListActivity but just an Activity that
> has a listview and arrayadapter?
>
> On Jun 15, 5:01 pm, Streets Of Boston <[email protected]> wrote:
>
>
>
>
>
>
>
> > setClickable or the Clickable attribute of your text and imageview. Set them
> > to false.
> > Note that when you call 'setOnClickListener()' on your text or imageview, it
> > will effectively set 'clickable' back to 'true'.

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