Have you tried overriding OnTouch()? Another way may be to embed the aphephobic view in another view that overrides OnTouch rather than passing it down to its child.
http://2.bp.blogspot.com/_jFEYq3Edff8/SFr1srC_VSI/AAAAAAAAAnU/oucw8hzS8BA/s400/FarSideNoTouch%2B001(2).jpg Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Aug 19, 2:40 am, Zhangli <[email protected]> wrote: > Hi, all: > > I am trying to use "setClickable(false)" + "setLongClickable(false)" + > "setFocusableInTouchMode(false)" to disable Touch Event for every > views but failed. When mouse clicks, OnTouchEvent() of some view will > still be called. > What I want is only to disable Touch event because my application need > not Touch and Touch event will disturb the running of app. Is there > any way to disable Touch ? > > Thank you ! > ZL --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

