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

Blank value when passing values between class on kivy?

I'm going to pass values between class or Screen in this case, but the values is empty when I print it. Here's my py code: import kivy from kivy.app import App from kivy.uix.widget import Widget from kivy.uix.gridlayout import GridLayout from…
RedBlur
  • 55
  • 1
  • 6
2
votes
2 answers

I am Building app with buildozer but building liblzma for armeabi-v7a having some exceptions

first I fired Buildozer init and After firing command 'buildozer -v android debug' . there is exception in building liblzma for armeabi-v7a . This is my log below in short. [INFO]: <- directory context…
2
votes
1 answer

Problem with changing the value of main button in KivyMD Menu

I have created a KivyMD Menu. When I click on the main Button, the menu is opening without a problem. However when I click on a menu button the value of the main button is not changing. Nothing happens. I thought the code is sufficient to achieve…
2
votes
1 answer

Tabs showing an error ValueError: MDTabsLabel.color has an invalid format (got []) -Kivymd

Actually I am getting an error when I am using tabs in kivymd. I tried using them as it is provided here. I am getting an error that follows: Traceback (most recent call last): File "kivy/properties.pyx", line 2023, in…
2
votes
1 answer

Cannot find some ithems from kivymd library

I am a begginer, I try to programme app for my school graduation.. but in my kivymd library it looks like some items are missing. When I check it manually, the others buttons are there. e.g. in kivymd I havent any toolbar folder,and so…
2
votes
1 answer

How to display variable value from Python in KV file in kivy app

I am trying to display variable archon2_channel from the function label_title as an MDLabel text value. I have tried to use StringProperty(var_name), also through the global variables, no luck... appreciated for any ideas and or links that can help…
2
votes
1 answer

AttributeError: 'Snackbar' object has no attribute 'show'

I'm making a desktop app using kivymd and i need to show a simple Snackbar on a button click that just lets the user know that the process went smoothly, but no matter what i try to do i get the error message: AttributeError: 'Snackbar' object has…
2
votes
1 answer

Why MDCard not able to add on_touch_down in KivyMD?

I have implemented following. There are two button in bottomsheet. When click on first button it go from Main screen to first screen. On first screen, clicking on right-top button will create 10 cards. But when try to add on_touch_down then it get…
krmani
  • 536
  • 5
  • 17
2
votes
2 answers

what can I use to display paragraph texts in kivy or kivymd?

A paragraph Please what widget can I use to achieve or display a text like this in kivy or kivymd?
Capuit Cw
  • 23
  • 3
2
votes
1 answer

How to clear a KivyMD MDList (remove all of the Items)?

How to clear a KivyMD MDList of all of the dynamically created Items? Example: for x in range(10): item = OneLineListItem(text=str(x)) self.List.add_widget(item) We've got a list with 10 items now. I want to create a function that will remove…
bobk810i
  • 53
  • 6
2
votes
1 answer

KivyMD | List Item print its "text" on_press

How can I code a OneLineListItem in KivyMD to print its "text" on a console? I came up with something like this: [...] item = OneLineListItem(text="DEMO", on_press= lambda x: ??????? ) list.add_widget(item) [...] I would like to have the word…
bobk810i
  • 53
  • 6
2
votes
1 answer

Kivy > Threading and using the Spinner

I am struggling to understand how I can get the Spinner to activate before running a long process and then to deactivate it. Below is an example. I tried in the KV file to run run the method to toggle the spinner and then run the threaded process…
2
votes
2 answers

KivyMD: How do I automatically display an MDList generated in the python file

Thanks for taking a look. I'm brand new to Kivy/KivyMD/programming and there's something fundamental I'm just not grasping between the python code and the kv code. I'm building a simple app that uses ScreenManager to switch between two screens. On…
DanHeatWave
  • 23
  • 1
  • 4
2
votes
1 answer

Kivy KivyMD - How to use multithreading to fill up different MDgridLayouts within MDTabs

Python 3.6.4 - Kivy 1.11.1 - KivyMD 0.104.1 I'm fairly new with Kivy and kivyMD, and even more with threading and shared resources. Today, I fill in the 3 MDGridlayouts (sbgridfamily, sbgridgender, sbgridspecies) sequentially with…
ljpg
  • 33
  • 5
2
votes
1 answer

KivyMD - How can I navigate around Screens using both KivyMD BottomNavigationItems and Buttons within the Screens themselves?

I am at a loss with the Kivy ScreenManager (disclaimer - I am fairly new to this). My aspiration is to build a basic app utilising the following: MDToolbar with a right_action_item to load a SettingsScreen which can be called from anywhere within…
jamesl424
  • 53
  • 7