Im using 2 Views (MainView and SubView).
One Activity (mainActivity)
Im setting mainView (setContentView) first in mainActivity.
MainView contines GameMenu(CustomView).
i want to go to subView from mainView (onKeyDown is working now).
in subView also onKeyDown is working.
but when i come back fom subView to mainView , onKeyDown is now working.
I have to touch 2 times ,after that only onKeyDown is working.
i used setFocusablefromtouch()
but still i have same problem. can any one help me?