: name: "program" on_enter: self.config_loader = root.load_config() FloatLayout: MDGridLayout: cols: 1 pos_hint: {'x': 0, 'y': 0.4} MDLabel: text: "Configuration" font_size: 40 halign: 'center' valign: 'center' pos_hint: {'center_x': 0, 'center_y': 0} bold: True MDGridLayout: cols: 1 pos_hint: {'x': 0, 'y': 0.33} MDLabel: text: "Change the configuration of the microcontroller" font_size: 18 halign: 'center' valign: 'center' pos_hint: {'center_x': 0, 'center_y': 0} italic: True MDGridLayout: cols: 1 pos_hint: {'x': 0, 'y': 0.25} MDLabel: id: status text: "Loading..." font_size: 17 halign: 'center' bold: True MDGridLayout: size_hint: 0.9, 0.5 spacing: 10 pos_hint: {"x":0.05, "y":0.2} cols: 4 MDTextField: id: s1_a hint_text: 'Sensor 1 a' on_text: root.validate_float(self) MDTextField: id: s1_b hint_text: 'Sensor 1 b' on_text: root.validate_float(self) MDTextField: id: s1_c hint_text: 'Sensor 1 c' on_text: root.validate_float(self) MDTextField: id: s1_t hint_text: 'Sensor 1 Temperature' on_text: root.validate_float(self) MDTextField: id: s2_a hint_text: 'Sensor 2 a' on_text: root.validate_float(self) MDTextField: id: s2_b hint_text: 'Sensor 2 b' on_text: root.validate_float(self) MDTextField: id: s2_c hint_text: 'Sensor 2 c' on_text: root.validate_float(self) MDTextField: id: s2_t hint_text: 'Sensor 2 Temperature' on_text: root.validate_float(self) MDTextField: id: s3_a hint_text: 'Sensor 3 a' on_text: root.validate_float(self) MDTextField: id: s3_b hint_text: 'Sensor 3 b' on_text: root.validate_float(self) MDTextField: id: s3_c hint_text: 'Sensor 3 c' on_text: root.validate_float(self) MDTextField: id: s3_t hint_text: 'Sensor 3 Temperature' on_text: root.validate_float(self) MDTextField: id: s4_a hint_text: 'Sensor 4 a' on_text: root.validate_float(self) MDTextField: id: s4_b hint_text: 'Sensor 4 b' on_text: root.validate_float(self) MDTextField: id: s4_c hint_text: 'Sensor 4 c' on_text: root.validate_float(self) MDTextField: id: s4_t hint_text: 'Sensor 4 Temperature' on_text: root.validate_float(self) MDFillRoundFlatButton: size_hint: 0.1, 0.07 text: "Back" pos_hint: {"x":0.1, "y":0.1} background_color: (255, 0, 0, 0.6) on_release: app.root.current = "main" root.manager.transition.direction = "up" MDFillRoundFlatButton: size_hint: 0.15, 0.09 text: "Save" pos_hint: {"x":0.6, "y":0.1} on_release: root.save()