Did you add clickable="true" to your View? On 4 Лис, 23:17, Bret Foreman <bret.fore...@gmail.com> wrote: > These views are inside an ExpandableListView, which is known to have a > number of bugs around text selection. This is just another in a list > of issues with that widget. I need to pass the event up the stack > because it also expands/collapses the rows in the ListView. Somebody > should really rewrite ExpandableListView...though I'm not > volunteering! > > On Nov 4, 2:06 pm, niko20 <nikolatesl...@yahoo.com> wrote: > > > > > > > > > I don't know why you had a problem with this in the first place. I > > have custom views where I override the OnTouch and I get ACTION_DOWN > > and ACTION_UP messages just fine. > > > Also, why do you want to pass the message to the parent anyway? I > > don't see a need for this. > > > -niko > > > On Nov 4, 3:23 pm, Bret Foreman <bret.fore...@gmail.com> wrote: > > > > Ah, good point.That makes the hack a little simpler. It's still an > > > ugly hack. > > > > On Nov 4, 1:09 pm, Kostya Vasilyev <kmans...@gmail.com> wrote: > > > > > 04.11.2010 23:01, Bret Foreman ?????: > > > > > > Of course, there's another method to set myParent. > > > > > Could be like this: > > > > > arg0.getParent() > > > > > Or (assuming the listener is an inner class) > > > > > getParent() > > > > > -- > > > > Kostya Vasilyev -- WiFi Manager + pretty widget > > > > --http://kmansoft.wordpress.com
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en