onkeyDown problem

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

onkeyDown problem

Postby saamyandroid » Wed Sep 23, 2009 9:09 am

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?
Experienced Developer
Experienced Developer
Posts: 84
Joined: Wed Sep 09, 2009 8:17 pm
Location: INDIA


Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 5 guests