Category "kivy"

Delete several TwoLineListItem from an MDList when creating a dinamic list without an ids in Kivy

Help here pls, I got to create several TwoLineListItem in an dynamic MDList,This start working when the list (list_general) have an item and this is gotten from

For a KivyMD BottomNavigation, is it possible to apply Material Design 3?

https://kivymd.readthedocs.io/en/latest/components/bottomnavigation I tried to apply material design 3 in KivyMD project. I ran the example code on the KivyMD

Updating Created Custom KivyMD Property

I'm hoping there's a way to do this but not entirely sure. I want a way to update all of my labels after a button press. This is how I'm currently doing it whic

Why does kivy show me a white background instead of the real rgba number?

In this program i set the background color of Label to 6, 61, 81, 1 like this : background_color: 6, 61, 81, 1 canvas.before: Color

Kivy: Permission Denied when subprocess run executable file on android

I have built c code as android executable file and tried to run it with kivy app using subprocess.run("main"). But it says PermissionError: [Errno 13] Permissio

how to run a kivy app on ASUS tinker board?

I am trying to run a kivy app (basic to print hello world) on asus tinker board and i am facing this error. I am new to the kivy app development as well as new

Error building kivy app for android with buildozer

I am fairly new to Kivy and app development in general. I made a simple app and wanted to try creating an apk file using buildozer. I ran the following command:

If I try to clear dynamically added tabs using clear_widgets function I get an error(mdtabs can remove only subclass of MDTabslabel or MDTabsBase

from kivy.lang import Builder from kivy.uix.scrollview import ScrollView from kivymd.app import MDApp from kivymd.uix.tab import MDTabsBasefrom kivy.lang import

How can i customise mapview's map marker popup like the image below in kivy?

MapMarker Popup I am trying to customise a MapMarker Popup without using the regular 'source' property in kivy MapView class. I have tried creating the circle w

how to see number of each line in text input of kivy?

There are some text editing softwares that show us the number of lines in order. like this: I want to have this effect in text input of kivy but i do not know

How to add widgets while Kivy app is running?

I state that I am not an expert in Python and I started very recently with Kivy! I would like to know if it is possible, and if it makes sense, to add widgets s

How to use a variable/function from a class instance in a differrent class with kivy?

first, I'm new here, so don't hesitate to correct me if I act innapropriatly ! I'm making a sudo turn based RPG combat to train with kivy tools and I've come in

How to add GridLayout with MDCard's to ScrollView Python kivy

The problem is that I don't use kivylang to develop and compose a hierarchical structure of widgets, but how can I add mdcard's to ScrollView if mdcard's has be

Python Kivy: 'kivy.properties.ObjectProperty' object has no attribute 'text'

I have only been looking into kivy for about 1 week for a school project, so I'm new to this module. I'm trying to do a login form where the program get the use

tensorflow lite program crashing with kivy on buildozer

I tried running this github program https://github.com/tito/experiment-tensorflow-lite It is basically about running tensorflow lite using kivy on android. I tr

self.root.ids is empty even after giving ids in kivyMD

I am trying to create a nice login screen with kivyMD. I am Using Screen Manager to handle different screens. Also I am using MDToolbar and MDBottomNavigationIt

ModuleNotFoundError: No module named 'Crypto' in kivymd app

I am compiling an android app using buildozer however even I compile it shows no module named crypto in the logs and then stops even though I gave pycryptodome

How can I change icon.filename of buildozer?

I use buildozer with kivy (python), and I'd like to change the icon. In buildozer.spec I found #icon.filename = %(source.dir)s/data/icon.png. I tried to uncomme

Getting AttributeError: 'NoneType' object has no attribute 'shape' error while woring in Kivy

I am exploring kivy to deploy my ml model. I have wrote the code to access the camera using kivy but I'm getting AttributeError: 'NoneType' object has no attrib

Build apk with buildozer

A project written in windows in a shared folder with an Ubuntu 18.04 virtual machine when building apk gives the following error: # Install platform # Run '