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

I can't install this repository

I need to install a python package like so: pip install https://github.com/kivymd/KivyMD/commit/082405ec4ccb9dd454521b266d5ef04d520c703b#diff-9dd6a8b5c5d51f6352fdddd8ac078096584d3db5f51d6d6f0819d1bc897881ec But when trying I get the error ERROR:…
Mirai
  • 115
  • 2
  • 16
0
votes
1 answer

How change color title tab in KivyMD?

How i can change color title kivymd tab: MDTabs: id: tabs text_color_normal: 0, 1, 0, 1 text_color_active: 1, 0, 0, 1 color_indicator: 0.95, 0.95, 0.1, 1 everything this doesn't work, text color is remains defoult (white). Please…
Mirai
  • 115
  • 2
  • 16
0
votes
1 answer

Creating new screens from Navigation drawer KivyMD

Hi guys i am new to KivyMD and working on my first app. Basically i need to open a new screen on click on the contents in my navigation drawer. For instance i have a New Room button on my nav drawer and i want a new screen to be opened when i click…
0
votes
1 answer

How to position/ add padding on buttons on

I'm having trouble trying to adjust my buttons positions. I want to add a padding-top thing but they don't move! I've tried a lot of things so any help is very welcome! Also I don't know why I have to use 'cols: 2' so many times for them to be side…
zupp
  • 96
  • 7
0
votes
0 answers

I can't get Kivy screen manager to work in this specific app, I've made it work in other programs I literally cant get it to work in this app

so i'm learning kivy and I want to have a button bring me to a different screen to be able to set a alarm. I've made another file to learn how to transition between screens and its worked and all morning I've been trying to get it to work in my…
scorpio
  • 61
  • 1
  • 8
0
votes
2 answers

How to show loading screen at start of function in kivymd?

I want to use loading screen in my Kivymd app during getting data from web. But when I run my code, loading screen appears after getting data. I want to show loading screen, get some data from web, then display result on new screen. This is part of…
Superjay
  • 447
  • 1
  • 7
  • 25
0
votes
1 answer

How do I fix 'ValueError: callback must be a callable, got 18:19:46'

So I'm trying to get a good grasp on kivy and I want to create a basic clock app and I keep running into a problem when I go to update the clock label. I've looked at other threads on here and still cant find the right solution. I believe I am doing…
scorpio
  • 61
  • 1
  • 8
0
votes
2 answers

Bind function on user click on MDIcon

I think it's a simple problem but I didn't found the right function on the doc or on stackoverflow posts. from kivymd.app import MDApp from kivy.lang import Builder KV = ''' BoxLayout: MDIcon: halign: "center" icon:…
user15124750
0
votes
1 answer

How can I add an MDDataTable to a Screen in a class that's not the main app class?

I'm trying to create an app where after you log in you're shown a table of users. If the login is successful I want the user to be sent to another screen that has an MDDataTable in it. All of the examples I've found online only show how to display…
xSabotagex
  • 93
  • 7
0
votes
1 answer

KivyMD: MDDropDownItem not setting on Android; works on desktop

I'm developping my first app in Kivy/KivyMD and I've run into the following problem: I've build my app using buildozer and when I open it on my android phone, the MDDropDownItem opens correctly, but doesn't set the new item (or even closes for that…
0
votes
1 answer

How do i change screen through the function?

I have an app but how do i change screen not through the kv, but through the python function, There is my python code and i get an error name 'root' is not defined. Tried to do the same thing but with self and it said that MainApp has no attribute…
BogdanTsyn
  • 41
  • 6
0
votes
0 answers

Python: changing screens via function

I want to reduce my code via general function for changing screens. my screens have names as numbers e.g name: "2".. when you click on certain list in bottomsheet I want to changing certain screen. in .py def show_bottom_sheet(self): bs…
Panakova1
  • 11
  • 5
0
votes
1 answer

Get index of a widget on KivyMD (MDList)

I am trying to build an app which has a shedule manager in Python and KivyMD. The first page on the code is where the schedule will be displayed, the other page is were you will add the information. After filling the form on the second page, the…
Diego Gc
  • 175
  • 2
  • 15
0
votes
2 answers

KivyMD: how to write text from file on screen

I am begginer and I try to make an app as a notes. Users can write their reminder in one screen.. it is written into a file, so I have a text in file, I want to show it on another screen. I tried it something like this but it doesn´t work. Can…
Panakova1
  • 11
  • 5
0
votes
1 answer

Why is the MDToolvar icon not showing on Android?(Kivy)

I am building a kivy based Android app. At the moment when I run the app on Linux the MDToolbar shows the menu icon without a problem. But when I build the app for Android with menu icon dosent show up. The lambda function works even if the icon is…
Savu
  • 15
  • 4