From 31a1fc9cfc6655d1a4b6e2543768b6b8ae8d2de8 Mon Sep 17 00:00:00 2001 From: oloturia Date: Mon, 23 Dec 2019 17:52:14 +0100 Subject: [PATCH] fix --- android_main.py | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 android_main.py diff --git a/android_main.py b/android_main.py deleted file mode 100644 index a402c85..0000000 --- a/android_main.py +++ /dev/null @@ -1,26 +0,0 @@ -import kivy -from kivy.app import App -from kivy.uix.image import Image -from kivy.uix.button import Button -from kivy.uix.boxlayout import BoxLayout - -from randstrip import createStrip - -class strip_Layout(App): - img = Image(source="./android.png") - - def build(self): - layout = BoxLayout(orientation="vertical") - newStrip_Button = Button(text="New Strip", size_hint=(1,.3)) - newStrip_Button.bind(on_press=self.newStrip) - layout.add_widget(self.img) - layout.add_widget(newStrip_Button) - return layout - - def newStrip(self,instance): - createStrip("android.png",30) - self.img.reload() - -if __name__=="__main__": - app = strip_Layout() - app.run()