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
2
votes
1 answer

How to set kivy font size inside a label or a button so it fill the label or the button even the label or the button size changes

I am trying to build an application with buttons (similar to the calculator), everything was good until I tries to make the app window thinner, the text go out the borders of the button. I tried font_size: self.width/5 to change the font with the…
2
votes
1 answer

In a ScrollView, can I run a def if I reach the end of the list in a ScrollView or MDList?

How can I receive the event if I reach the bottom or end of the list In a ScrollView, can I run a def if I reach the end of the list in a ScrollView or MDList? App.py from kivy.lang import Builder from kivymd.app import MDApp import…
2
votes
0 answers

is it possible to convert the kivy code of python into a cython code for better performance

I am working on the project using kivy gui in python but it's performance is very slow,so is it possible to convert that kivy code in cython for getting better performance as in resposne time of an application. If it is possible so how I can do it.…
2
votes
1 answer

How do I access a variable from my main.py in my .kv file

from kivy.app import App from kivy.uix.widget import Widget from kivy.core.window import Window from kivy.uix.label import Label Balance = 0 Balance_string = str(Balance) class MyWidget(Widget): def ads(self): global Balance …
2
votes
1 answer

Buildozer - Kivy pyodbc ImportError - pyodbc.so is for EM_X86_64 (62) instead of EM_AARCH64 (183)

I Am trying to deploy a kivy/kivyMD app to my android device. Had no issues until I added the pyodbc package to the .spec file. I can see that the architecture is wrong but am unsure as to how to fix this. From there, I tried rerunning the packaging…
2
votes
1 answer

Adding ScrollView in MDCard Kivy

I am trying to add ScrollView in my First Screen but unfortunately I failed to do so. I have tried many times by changing layouts, adding new layout etc etc.. I just want is to ScrollView to those ElementCard so that if I add more I can reach then…
Ayush Raj
  • 37
  • 4
2
votes
2 answers

Concurrently running a loop with a kivy window

I am trying to build a simple messaging app, that uses rabbitmq as its message broker and kivy as its UI. So to receive incoming messages I have a receive function that is a loop, But when I try to multi-process the app and run it, kivy seems to be…
2
votes
1 answer

how do I select directories and files in KivyMD

I am trying to select a file (picture), through a simple app I made using file manager, but I keep getting this error message: kivy.uix.widget.WidgetException: Cannot add
Edwin
  • 565
  • 11
  • 26
2
votes
1 answer

KivyMD App Error : build self.image = Image() TypeError: 'module' object is not callable

I'm trying to build a text scanner app using pytesseract, opencv, and KivyMD as this tutorial: https://www.youtube.com/watch?v=xIYbgCvFfdQ&list=PL0lYY7rL__yLMEI7k9hA8L1EOVlH79FyY&index=2 But my result is empty window and errors. Please help This is…
kamond
  • 21
  • 1
2
votes
0 answers

Vertical ScrollView inside Swiper Kivy python

I'm trying to create kivy MDSwiper with vertical ScrollView in it. Here is my code. do_scroll: True width_mult: 1 ScrollView: MDBoxLayout: orientation: 'vertical' …
handowl
  • 141
  • 1
  • 1
  • 6
2
votes
2 answers

Python3+Kivy+Plyer Push notification icon problem

I've a weird error using a simple notification testing app using android. The error: python : AttributeError: type object 'notification.org.notificator.R$drawable' has no attribute 'icon' The python file: import kivy from kivymd.app import…
Elias Cort Aguelo
  • 309
  • 1
  • 4
  • 20
2
votes
1 answer

'NoneType' object has no attribute 'load_module'

File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File…
yoav s
  • 23
  • 4
2
votes
1 answer

Is there a way to display a pandas Dataframe in KivyMD?

Is there a way to display a pandas DataFrame in KivyMD? I tried putting the dataframe as a KivyMD DataTable but it doesn't work that way.
Zubin
  • 69
  • 7
2
votes
2 answers

kivy error - kivy.factory.FactoryException: Unknown class

so this is my main.py code- import pyaudio import speech_recognition as sr import pyttsx3 from playsound import playsound import kivy from kivy.app import App from kivy.uix.gridlayout import GridLayout from kivy.uix.screenmanager import…
Krish
  • 31
  • 4
2
votes
1 answer

How do I get KivyMD Navigation Drawer to call another app in a separate .py file?

I know how to write an app with kivy and I understand how to make a KivyMD app that has a navigation drawer. I can make the apps run individually but how do I combine the two? I am new to coding and I am stuck here. Below are the codes for two…
Ian Rajkumar
  • 149
  • 1
  • 8