title: multiple widgets in Kivy
body: <p>I am new to python front-end. Currently i am stuck with integrating 2 python kivy programs. 
  Each of them have different widget. One is asynchronous image loading and one is clock widget.
  Can anyone help me to integrate this multiple widgets in a sigle python file. I am adding my python codes below. please help me.  </p>
  
  <p><strong>Asynchronus image loading</strong> </p>
  
  <pre><code>from kivy.app import App
  
  from kivy.uix.image import AsyncImage
  from kivy.lang import Builder
  
  Builder.load_string('''
  &lt;CenteredAsyncImage&gt;:
      allow_stretch: True
      keep_ratio: True
      size_hint_y: None
      pos_hint: {'center_x': 0.5, 'center_y': 0.5}
      height: dp(800)
      mipmap: True
  ''')
  
  class CenteredAsyncImage(AsyncImage):
      pass
  
  class TestAsyncApp(App):
      def build(self):
          img = 'edited_background.jpg' 
          return CenteredAsyncImage(source=img)
  
  if __name__ == '__main__':
      TestAsyncApp().run()
  </code></pre>
  
  <p><strong>Clock Widget</strong> </p>
  
  <pre><code>import kivy
  from kivy.app import App
  from kivy.uix.widget import Widget
  from kivy.properties import ObjectProperty
  from kivy.uix.label import Label
  from kivy.uix.floatlayout import FloatLayout
  from kivy.uix.popup import Popup
  from kivy.base import Builder
  from kivy.uix.image import Image
  from kivy.uix.screenmanager import ScreenManager, Screen
  from kivy.clock import Clock
  from kivy.core.window import Window
  import time
  
  
  class Time(Label):
      def updateTime(self,*args):
          self.text = time.asctime()
  class TimeApp(App):
      def build(self):
          t=Time()
          Clock.schedule_interval(t.updateTime,1)
          return(t)
  
  TimeApp().run()  
  </code></pre>
  
  <p>I need to display both in a single window and clock should be in the top right most corner.  </p>