def __init__(self, **kwargs):
    super().__init__(**kwargs)
    txt = Label(text=txt_test3)
    self.pulse2 = TextInput(multiline=False)
    self.pulse3 = TextInput(multiline=False)
    txt_name = Label(text='Pulse_1')
    txt_age = Label(text='Pulse_2')
    self.btn = Button(text='Next')
    self.btn.on_press = self.next
    self.btn.background_color = btn_color
    self.on_enter = self.clean_text_input
    main_bl = BoxLayout(orientation='vertical')
    bl1 = BoxLayout(orientation='vertical', size_hint=(1, 0.7))
    bl2 = BoxLayout(size_hint=(1, 0.1))
    bl3 = BoxLayout(size_hint=(1, 0.1))
    bl4 = BoxLayout(size_hint=(1, 0.1))
    bl1.add_widget(txt)
    bl2.add_widget(txt_name)
    bl2.add_widget(self.pulse2)
    bl3.add_widget(txt_age)
    bl3.add_widget(self.pulse3)
    bl4.add_widget(self.btn)
    main_bl.add_widget(bl1)
    main_bl.add_widget(bl2)
    main_bl.add_widget(bl3)
    main_bl.add_widget(bl4)
    self.add_widget(main_bl)
def __init__(self, **kwargs):
    super().__init__(**kwargs)
    txt = Label(text=txt_test3)
    self.pulse2 = TextInput(multiline=False)
    self.pulse3 = TextInput(multiline=False)
    txt_name = Label(text='Pulse_1')
    txt_age = Label(text='Pulse_2')
    self.btn = Button(text='Next')
    self.btn.on_press = self.next
    self.btn.background_color = btn_color
    self.on_enter = self.clean_text_input
    main_bl = BoxLayout(orientation='vertical')
    bl1 = BoxLayout(orientation='vertical', size_hint=(1, 0.7))
    bl2 = BoxLayout(size_hint=(1, 0.1))
    bl3 = BoxLayout(size_hint=(1, 0.1))
    bl4 = BoxLayout(size_hint=(1, 0.1))
    bl1.add_widget(txt)
    bl2.add_widget(txt_name)
    bl2.add_widget(self.pulse2)
    bl3.add_widget(txt_age)
    bl3.add_widget(self.pulse3)
    bl4.add_widget(self.btn)
    main_bl.add_widget(bl1)
    main_bl.add_widget(bl2)
    main_bl.add_widget(bl3)
    main_bl.add_widget(bl4)
    self.add_widget(main_bl)