I am trying to disable a Layout including all its children. I am able to intercept the click and key press events of the Layout in the dispatchTouchEvent and dispatchKeyEvent and dispatchTrackBallEvent methods of the layout. Thus, the children of this layout cannot receive any clicks or key presses.But the child views can still receive focus (by trackball or arrows on key board, but not by touch) and their OnFocusChangedListeners are fired.
How can I prevent child views from receiving focus. Setting the focusable of Layout is not working. Parsing all child views and setting them to non focusable is too expensive in my case, as there can be really complex run-time created view hierarchies . thanks, -vk -- 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

