code: def hide_keyboard(cls):
          
          app = AndroidApplication.instance()
          f = app.create_future()
  
          def on_ready(ims):
              view = app.view.proxy.widget
  
              def on_token(__id__):
                  ims.hideSoftInputFromWindow(
                      JavaBridgeObject(__id__=__id__), 0).then(f.set_result)
              view.getWindowToken().then(on_token)
  
          cls.get().then(on_ready)
          return f
docs: Hide keyboard if it's open
           
          Returns
          --------
              result: future
                  Resolves when the hide is complete