kivy.require('1.6.0')
from kivy.app import App
-from kivy.core.window import Window
from kivy.uix.widget import Widget
from kivy.logger import Logger, LoggerHistory
from kivy.uix.relativelayout import RelativeLayout
self.player.pos = self.level_obj.enter_pos
if platform() != 'android':
# Very hack'ish
+ # We need to delay this import until after the window creation by
+ # the app, else our size config doesn't work
+ from kivy.core.window import Window
self.keyboard = Window.request_keyboard(self._closed, self)
self.keyboard.bind(on_key_down=self._on_key_down)