modifier cocos2dx java src to allow for custom layout of activity and a cocos2dx subclass of FragmentActivity