[android-developers] Re: ListView and focusing

2009-02-20 Thread Greg Krimer
Oh! In that case I think the behavior you are observing is by design. Have a look at this thread: http://groups.google.com/group/android-developers/browse_thread/thread/3d96af1530a7d62a/9f9919a4b604c104?lnk=gstq=clickable+focusable#9f9919a4b604c104 On Feb 19, 4:09 pm, Selmi se...@centrum.sk

[android-developers] Re: ListView and focusing

2009-02-20 Thread Selmi
i gave up, now it always opens popup menu with possibilities and it doesn't matter on what exactly is clicked on. its not so nice but it works and it was accepted by customers so lets live with it :) thanks On 20. Feb, 21:56 h., Greg Krimer gkri...@gmail.com wrote: Oh! In that case I think the

[android-developers] Re: ListView and focusing

2009-02-20 Thread Selmi
i forgot to mention that this what was written in link you gave me, it didn't worked for me as well (flash was shown correctly, but in addition it also appeared on last visible item in list which was confusing) On 20. Feb, 21:56 h., Greg Krimer gkri...@gmail.com wrote: Oh! In that case I think

[android-developers] Re: ListView and focusing

2009-02-19 Thread Selmi
I am not able to find out how to do it. Now i am sure that its because i capture onClick for embedded TextView. I tried to do this in handler: v is clicked TextView final View view=(View)(v.getParent()); //to get RelativeLayout which is list item final Drawable

[android-developers] Re: ListView and focusing

2009-02-17 Thread Selmi
i found what is problem in layout which is used by list item i have several controls. for simplicity i narrowed it down to checkbox and textview i want to do such thing that if you touch checkbox then one action happens, if you touch something else (textview in my case) then something else

[android-developers] Re: ListView and focusing

2009-02-16 Thread Greg Krimer
Hi, can you check out this thread to see if it is the same problem you are having: http://groups.google.com/group/android-developers/browse_thread/thread/ccb475c855e8785a/05a180ddac2c702c Basically, try setting the text color to an explicit value (as opposed to a style). Also, have a look at:

[android-developers] Re: ListView and focusing

2009-02-16 Thread Romain Guy
The problem is probably that your list item is opaque. The selector is, by default, drawn *behind* the list item. either use a different selector, or draw it on top (which requires a different selector anyway since the default one is opaque) or make your list items' background support the