Learn to Make Beautiful Mobile Apps in Python | KivyMD Tutorial - Buttons

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ธ.ค. 2024

ความคิดเห็น • 26

  • @erik-sandberg
    @erik-sandberg  5 ปีที่แล้ว +4

    Note: With this version of KivyMD, you don't need to use import statements anymore, Kivy will automatically know what widget you want even without importing anything. My imports are therefore unnecessary but still show you where the code for these buttons lives so you can tweak if you like.
    MDIconButton: 1:19
    MDFloatingActionButton: 3:46
    MDFlat Button: 5:48
    MDRaisedButton: 7:22
    MDRectangleFlatButton: 8:53
    MDRectangleFlatIconButton: 10:18
    MDRoundFlatButton: 11:20
    MDRoundFlatIconButton: 12:28
    MDFillRoundFlatButton: 13:47
    MDFillRoundFlatIconButton: 16:19
    MDTextButton: 17:14

  • @bcoinacct4239
    @bcoinacct4239 5 ปีที่แล้ว +2

    Awesome! I was actually looking for kivy design tutorials. Thanks, buddy!

  • @beribanyu
    @beribanyu 2 ปีที่แล้ว

    Thanks, bro. This video is really helpful!!!

  • @pinoyguitartv
    @pinoyguitartv 2 ปีที่แล้ว

    Great work ma dude 👍🔥🔥🔥

  • @Александр-р3э3м
    @Александр-р3э3м 4 ปีที่แล้ว +1

    Your video are very helpful! Thanks!

  • @mayan144g
    @mayan144g 5 ปีที่แล้ว

    thank you very much for the videos,
    by the way, you don't have to import the buttons, it works exactly the same

  • @metinkoc
    @metinkoc 5 หลายเดือนก่อน

    Very nice tutorial! Thanks for sharing Eric. Wondering if the codes are still valid since the video is 4 years old

  • @therefinedapple9210
    @therefinedapple9210 2 ปีที่แล้ว

    Hello I have a question, I'm using the kivymd kitchen sink demo to try and learn the language. I have a simple script that will show the various buttons within kivymd. However when I run the script I get no compiler errors but a blank white screen. Any ideas or help on how to diagnose or solve the problem will be appreciated. Any ideas?

  • @Gui_M_C_0
    @Gui_M_C_0 4 ปีที่แล้ว

    Hi, i'd like to know if there is a way to set text align in kivy md buttons. Since it doesn't work like regular kivy buttons.

  • @sebuhisan7213
    @sebuhisan7213 5 ปีที่แล้ว

    Thanks for the videos. It helps me a great deal as it is the first time I am building an app with kivy. I have a question about kivymd buttons. Is it possible to set a custom icon for MDButton (such as MDFillRoundFlatIconButton)? So far I can only change MDText's background, but I can't bind on_press or on_release to that.

  • @bartonhenry4454
    @bartonhenry4454 4 ปีที่แล้ว

    Please Go ever the KivyMD installation procedure once more.... Mine does not seem to go through...!

  • @FRIENDSofCAP
    @FRIENDSofCAP 4 ปีที่แล้ว

    Erik, For the most part yourr tutorials are excellent. That said however, this one has something going on with it. I am running Python 3.8 on a Mac OSX Catalina, and I opted for the ZIP when downloading the kivyMD from HeaTheaTR from Git, and I got no erros during the execution f the setup.py... When I get as far as creating the main.kv file and in particular adding the MDIconButtion it throws the following error:
    "" raise FactoryException('Unknown class ' % name)
    kivy.factory.FactoryException: Unknown class
    I am running KivyMD v0.103.0 and Kivy 2.0. ... THe strange thing is that if I comment out the MDIconButton: and the 'icon: 'lock' portions then it runs fine depite the fact that one would think that if the MDIconButton module was not found then the import itself would throw the same error, or one similar... Lastly, I'd like to contribute to your channel, but one at least two other occasions, I've snet comments/questions with NO reply, even weeks later... I am hoping you can / will reply with some ideas as to how I can resolve this issue so that I can continue to follow your tuts... Thanks, and waiting to hear back from you soon. Tim

    • @erik-sandberg
      @erik-sandberg  4 ปีที่แล้ว

      Hi Tim, unfortunately I don't see every comment on all of my videos and don't have the time to help every individual who has questions. The Kivy Discord community is the proper place to get one on one help: discordapp.com/channels/423249981340778496/423250272316293120
      Also, given that the KivyMD package is in an 'alpha' state, it is constantly updated and unfortunately makes some of these videos out-dated. Hopefully if people run into issues when following these tutorials, they're able to debug their problems through tinkering of their own or help from the Discord community.
      That being said, I just downloaded the most recent version of KivyMD and set up a small test to see if I could get the MDIconButton working. This code ran just fine and produced an MDIconButton with a lock icon:
      *main.py*
      from kivymd.app import MDApp
      class MainApp(MDApp):
      pass
      MainApp().run()
      *main.kv*
      MDIconButton:
      icon: 'lock'
      Hope that helps!

  • @hugobreno1816
    @hugobreno1816 5 ปีที่แล้ว

    Lovely videos. Can you tr show us how to do a simple system using kivy like crud or something else. Thx

  • @komronpulatov6785
    @komronpulatov6785 4 ปีที่แล้ว

    How can i do action on click button?

  • @johnmwansa4180
    @johnmwansa4180 5 ปีที่แล้ว

    please i trust this channel here your channel its real .please help me on that just how to comminect ios with python commands

  • @tsabxyooj3287
    @tsabxyooj3287 5 ปีที่แล้ว

    Good, i will follow you

  • @jamesadams6881
    @jamesadams6881 4 ปีที่แล้ว

    Can you disable a button using Speech Recognition

  • @sebuhisan7213
    @sebuhisan7213 5 ปีที่แล้ว

    Is it possible to make proper pause menu like in most mobile games using these buttons and pop up (maybe)?

    • @erik-sandberg
      @erik-sandberg  5 ปีที่แล้ว +1

      I don't know exactly what image is in your head when you say proper pause menu, but I'm sure that it's possible! Kivy is incredibly flexible.

    • @sebuhisan7213
      @sebuhisan7213 5 ปีที่แล้ว

      @@erik-sandberg Honestly, any kind of. I know there is on_pause method, but I haven't seen any applications of it.

  • @johnmwansa4180
    @johnmwansa4180 5 ปีที่แล้ว

    i like your channel thats why iam asking this,its only how python comminect with ios,

  • @johnmwansa4180
    @johnmwansa4180 5 ปีที่แล้ว

    brother please help me with video how to connect ios to python.please i need the video wen you have time please.

  • @emmanuelmarvin8706
    @emmanuelmarvin8706 5 ปีที่แล้ว

    Can you please show how to do a pop up with kivymd

    • @erik-sandberg
      @erik-sandberg  5 ปีที่แล้ว

      That’s the next video! It’ll be up soon :)