开发者

Android Surfaceview onClick Event doesnt work after pressing HOME

i have used game loop as given in tutorial

开发者_如何学JAVA

http://www.droidnova.com/playing-with-graphics-in-android-part-vii,220.html

when i press home button and comes again to surfaceview , onclickview doesnt works after that


How do you try to click? Are you using a trackball/dpad or the touchscreen? If you are using a trackball/dpad, make sure the SurfaceView is focusable and focusable in touch mode (see View.setFocusable/setFocusableInTouchMode).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜