So, I have 3 species, one large on top of the other two. The one on top is transparent. I want to be able to register the onTouch event in the views behind the big one on top, and the big one does nothing.
onTouch
How can I do that?
Take a look at onInterceptTouchEvent(TouchEvent) from ViewGroup . The documentation is pretty clear on how you can achieve what you are doing here. You will probably want to extend your transparent parent (unless it is already the extension you wrote) and override this method to fulfill your bets.
onInterceptTouchEvent(TouchEvent)
ViewGroup
extend
Source: https://habr.com/ru/post/899407/More articles:Does the Svc file work without code? - c #How to print a line using pl / sql without adding a new line character at the end - oracleDoes applicationDidFinishLaunching: called when the application is updated and launched for the first time? - iosHow to load DoctrineExtensions in Bisna? - phpGoogle App Engine continues to delete my local database - google-app-engineHow to call setup once for all tests and disassembly after everything is finished - pythonHow to use PyBrain? - pythonstatic class in ASP.NET MVC application - c #Changing UIView Touchscreen Behavior Using Xcode 4.2? - iosSend mail from a JSF page using beans - javaAll Articles