Questions tagged [kivymd]

KivyMD is a collection of Material Design compliant widgets. Use with the [kivy] and [python] tags

is a library that adds Material Design compliant widgets for use with .

KivyMD source code is stored at GitHub. This library is a fork of the KivyMD project the author of which stopped supporting this project. Currently KivyMD is in beta status.

KivyMD has documentation pages on ReadTheDocs.

KivyMD

1734 questions
6
votes
1 answer

No module named 'kivy.graphics.instructions' while trying to use kivy master

My app works well while using kivy==2.0.0 and kivymd, but it doesn't display numeric keyboard in android devices. So as I investigated,I've got to use master branch of kivy to solve this issue.Now when I run the app with master branch I receive this…
5
votes
2 answers

How to send Email verification codes to user in Firebase using Python?

I'm making a KivyMD App and I want to send email verification code when an user is registered to the application. I'm using a firestore database with python for this project. But I don't have an idea to do that. The registration process is User…
5
votes
2 answers

kivymd app crashes on android phone ModuleNotFoundError: No module named 'PIL'

My Kivy app crashes on launch on android phone. buildozer logcat shows the following error: 02-21 17:09:58.777 14941 14979 I python : ModuleNotFoundError: No module named 'PIL' 02-21 17:09:58.777 14941 14979 I python : Python for android…
Oleksandr K
  • 119
  • 1
  • 10
5
votes
1 answer

Kivy: MDIconButton not centering in Gridlayout and MDLabel with button behavior cannot be moved

I'm new to Kivy and I want to make a signin screen for my app. I have two problems. First, inside my Gridlayout I have 3 MDIconbuttons and they cannot seem to be centered no matter what I try. Second, I want the MDLabel with the text "Forgot your…
cg-algo
  • 79
  • 5
4
votes
1 answer

How to change a KivyMD Menu caller to a Widget in a ScreenManager Screen

So, I'm working on a simple kivy app and I have three buttons (MDRaisedButton's) which each open the same KivyMD Menu (MDDropdownMenu) on release. Two of these buttons are in different ScreenManager screens. The other button is in a GridLayout in…
Raed Ali
  • 549
  • 1
  • 6
  • 22
4
votes
3 answers

NavigationLayout Kivy err0r

I decided to update kivy. Previously, there was no such error, now: raise FactoryException('Unknown class <%s>' % name) kivy.factory.FactoryException: Unknown class Code: from kivy.lang import Builder from kivymd.app import…
Mirai
  • 115
  • 2
  • 16
4
votes
2 answers

kivymd AttributeError: 'MDNavigationDrawer' object has no attribute 'toggle_state'

The example code seems a little outdated, e.g. I had to replace 'NavigationLayout' with 'MDNavigationLayout'. I'm using the latest kivymd downloaded from github This is simplest example that I found, but the example code here has the same…
kztd
  • 3,121
  • 1
  • 20
  • 18
4
votes
1 answer

How to add on_release action to a list item in kivy or kivymd, python?

I want to make a music player app using kivy and it's material design in python I am successful in finding the .mp3 files and playing them But the problem is that I am not able to find out the way to bind the OneLineListItem to any function (eg. If…
Sanyam Pandey
  • 91
  • 1
  • 7
4
votes
3 answers

MDDataTable in .kv file

I'm having some trouble adding the kivymd MDDataTable component as a child widget to a Screen in a .kv file. Keep getting a KeyError: 'container' and AttributeError: 'super' object has no attribute '__getattr__ error. I've looked through the docs…
droptop
  • 1,372
  • 13
  • 24
4
votes
1 answer

how do i put my own custom icon for the MDToolbar in kivy

How do i change the icon for the MDToolbar to my own custom icon image? i tried to change the color the icon but it seems to not be possible, so now im looking to change it altogether. How do i do this?
WillingLearner
  • 7,106
  • 6
  • 34
  • 51
3
votes
3 answers

KivyMD TopAppBar

I'm trying to learn Kivy and KivyMD because I want to make an android app. But I'm stuck at the first hurdle. I want a toolbar, or as the KivyMD documentation calls it, a TopAppBar. I'm trying to implement it as per the doc's, but I get an error…
Wilko84
  • 81
  • 1
  • 6
3
votes
1 answer

How can i use exact functionality for android back button by kivymd

When i long pressing the back button in last screen of my application then all the screen is being back and close my application. I want to release the back key and screen should be back. How can i use exact functionality for android back button by…
3
votes
0 answers

_imaging extension was built for another version of Pillow or PIL (xCode)

Ive been trying to upload my first Kivy/KivyMD application using xCode. My app's name is MathDojo. Upon running my app, my program builds successfully but the app crashes when opened. Here is the error I see: File…
3
votes
3 answers

How to check if data exist in firebase. (KivyMD Python)

I'm new to Python and KivyMD. Also to working with Databases. I want to check if the data provided by the user using the KivyMD App is already in the Firebase Realtime Database. These are the data in the firebase. The Code def send_data(self,…
3
votes
1 answer

How do I automatically Set MDCard height

I want to set mdcard height such that it fits mdlabel, perhabs without me manually setting mdcard size. please how do I do this.. Thanks in Advance.. For better understanding here's a sample code: from kivy.lang import Builder from kivymd.app import…
Edwin
  • 565
  • 11
  • 26
1
2 3
99 100