Learn to Make Beautiful Mobile Apps in Python | KivyMD Tutorial - MDTextField(s)

Поделиться
HTML-код
  • Опубликовано: 13 янв 2025

Комментарии • 33

  • @erik-sandberg
    @erik-sandberg  5 лет назад +6

    NOTE: Newer version of KivyMD don't require that you import the modules, so you can avoid the "#:import" lines in the .kv file (widgets have moved from the kivymd folder to the kivymd.uix folder, so you will get an error if you try to import them from the kivymd folder as I show in the video). I didn't cover *every* option available for these widgets, but I went over the options that I typically use. Any questions? Let me know!
    MDTextField 1:15
    MDTextFieldRound 6:23
    MDTextFieldRect 9:20

  • @KivyMD
    @KivyMD 5 лет назад +4

    Do it, please, a separate playlist for KivyMD lessons - I will add them to the repository

  • @KivyMD
    @KivyMD 5 лет назад +8

    Oh, you already have such a playlist...

  • @gadawg099
    @gadawg099 4 года назад +1

    Is there a way to center the text in the text field, so your hint text and user input text will be centered within the text field?

  • @girishparate895
    @girishparate895 4 года назад +1

    hello erik, I have question about textfield that, how to extract input data from mdtextfields and put it into the python functions.

  • @SaifUllahKhan0
    @SaifUllahKhan0 4 года назад +1

    How to fetch the text entered and pass it to a function that requires it

  • @tonihullzer1611
    @tonihullzer1611 2 года назад

    for me it is not possible to change the color of the input text of the field from the default blue to something, iv tried all color options?

  • @bernardoolisan1010
    @bernardoolisan1010 5 лет назад +1

    I have an error when i try ti use on-text-validate how can i fix?!

  • @InsanosGAMEPLAYBR
    @InsanosGAMEPLAYBR 5 лет назад +1

    How do I disable the virtual keyboard that appears in my app?

  • @rajatmishra9553
    @rajatmishra9553 4 года назад

    How can we dynamic add MD text field I added but not showing hint text and other args

  • @talcohen1712
    @talcohen1712 4 года назад

    how do I cancel the focus animation on this widget? line_anim: False doesn't work !

  • @CricketTube9905
    @CricketTube9905 4 года назад

    I couldn't import MDTextFieldRound
    Pls help....

  • @georgesmith3022
    @georgesmith3022 5 лет назад

    i installed today kivymd. there are some problems on MDTextFieldRound. The text is white on white background on the default theme, the icon is also white and does not show up for this reason. When it gets focus, it appears on the left blue. the MDTextField works ok

  • @Александр-р3э3м
    @Александр-р3э3м 4 года назад

    Another awesome video. Thanks!:)

  • @johnmwansa4180
    @johnmwansa4180 5 лет назад

    brother please please i need the video for python communicate with iphone to see sms inside iphone and numbers please help me on this video

  • @mayan144g
    @mayan144g 5 лет назад

    Thank you for your videos, how do i get the text the user wrote in the python file?

    • @erik-sandberg
      @erik-sandberg  5 лет назад

      You need to assign your textfield an id, then reference the id from your python code. I don't have a video about that, but it's a fundamental Kivy concept I will cover soon.

  • @shikharsingh2914
    @shikharsingh2914 4 года назад

    How to add keyboard so that we can enter info by it, on android platform?
    or it's automatic.

  • @tathagatabhattacharya5911
    @tathagatabhattacharya5911 4 года назад

    Can you do a kivymd list tutorial with how to use list in. kv and getting a output fromnit..

  • @bhavvukkalra9719
    @bhavvukkalra9719 4 года назад

    I have no idea about kivymd, and hence a doubt!!!
    What is the .kv file and how do changes made there affect the whole .py file program???
    Nice video btw!!👍👍

    • @MrJoJI
      @MrJoJI 4 года назад +1

      Kivy developers made kv language so programmers can separate making UI and programming in kivy. Kv is a markup language like HTML it contains and controls the design of the program. .Py file contains the behaviour of the program. To access buttons in kv file we assign them 'ids: id_name'and access them with self.ids.id_name. or use event calls to call functions in Py file like on_press: root.addnum()

  • @cristianalexismejia
    @cristianalexismejia 5 лет назад

    Hello borther, how I May have the valué from MDTextField in one funtion, I want to save the valué in one Database but I can't get the valué from MDTextField to one funtion, help me please you are the best.

    • @benwhiting9416
      @benwhiting9416 4 года назад

      You need to use an id variable in the kv file and then reference this in your python file using ObjectProperty

  • @slumdog8201
    @slumdog8201 5 лет назад

    amazing content. keep it up

  • @cristianalexismejia
    @cristianalexismejia 5 лет назад

    I got it, thanks

  • @youcefmoulla1828
    @youcefmoulla1828 4 года назад

    This is kivy not kivymd

  • @alaalagha1
    @alaalagha1 Год назад

    hi, ive done exactly the same script but its not working at all please help