I dont really know, perhaps your View doesn't have focus because you press the menu and create the View there... if you create it in onCreate it will be focused automatically. Also, key events are a little bit different from touch event.. I mean, if you touch the View, it should get focus. But when you press a key, especially the back key, you dont really know which View to focus.
I still got a lot to learn