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
0 answers

RTL input for kivy/ Persian input in kivy and kivymd

I am using kivy to develop .apk for android, and I am having trouble set RTL language ( Persian so to speak) to be suitably used as user input. Instead I am observing characters are shown as  that are unrecognizable characters. Just note that I…
2
votes
1 answer

max_height doesn't work for MDTextField in KivyMD

I was trying use max_height to limit the number of lines that the multiline=True MD TextField can expand to. In the KivyMD documentation for the TextField class…
eetaylor
  • 21
  • 1
2
votes
1 answer

When importing a kivymd module in a python script, a blank window appears

This is the offending python script, stored in file.py: from kivymd.uix.tab import MDTabsBase That's it. Nothing else. When I run it using this command: python file.py A blank window opens shortly, then disappears. I've read the kivymd.uix.tab…
Bianca
  • 21
  • 2
2
votes
1 answer

particle animation background for kivy

I want to put a particle animation in the background screen of my software, something like the link below, but for Python and kivymd codepen.io/JulianLaval/pen/KpLXOO I know this may be difficult or impossible for kivymd right now but if anyone has…
vahidkoohkan
  • 162
  • 1
  • 4
  • 11
2
votes
0 answers

I'm trying to print the result of a function on a label

I've managed to call the encrypt function from the Encrypt class, I've referenced the ids from kv file now i want to print the result of the function on the label .py file from kivymd.app import MDApp from kivy.lang import Builder from…
Osama Kh
  • 21
  • 3
2
votes
0 answers

I am trying to make an apk with kivy and buildozer but I find an error

running make -j 8 -C /Users/lorenzopasquarelli/Deskto...(and 129 more) working: make: *** [Modules/posixmodule.o] Error 1 Exception in thread background thread for pid 1163: Traceback (most recent call…
2
votes
0 answers

Low fps application on android

On android when I open the menus (MDDropdownmenu) the application reaches 20fps, I'm using a Huawei p9 lite with android 7.0 and this is my spec file, unfortunately I can't upload the app but I specify that the application creates the menu when it…
Juro123
  • 21
  • 4
2
votes
1 answer

how to overlay android screen using kivy or kivyMD?

I want to use SYSTEM_ALERT_WINDOW permission to "Draw on top" android screen using python. it is used in a lot of apps but i don't know if kivy or any other python repository supports it. Any help would be appreciated.
2
votes
1 answer

Scrollable text field in kivymd

I am trying to create a text field where I can display codes and snippets without wrapping text instead I want the text to scroll text along both x and y axis. I am trying to use following code but can't do that ScrollView: CodeInput: …
Manohar
  • 126
  • 1
  • 9
2
votes
2 answers

KivyMD TextField with DropDown

I am new with kivyMD and I get stuck with this problem. I am trying to bind TextField with DropDown and when select an item from DropDown to fill the text in the TextFied, but when I click on an item nothing happen. Can you help me? from kivy.clock…
Andonov85
  • 77
  • 8
2
votes
1 answer

How to combine Navigation Drawer and multiple Screens in KivyMD (Python)?

I'm a coding beginner and I want to make a mobile app which contains a Toolbar with a Navigation Drawer and that one should bring the user to different screens in the app. I searched a lot around for a solution, but didn't really found one, because…
Pascal S
  • 31
  • 1
  • 2
2
votes
0 answers

How can I detect a long touch from an item in kivymd?

I am trying to use the on_long_touch from the TouchBehavior class provided by KivyMD. It works fine in the example, but I am trying to use the on_long_press at the kivy file, there is no example for that probably because it is not possible. Have you…
2
votes
2 answers

How to solve error installing kivymd in Pydroid in NOX?

I was testing my Kivymd app with Pydroid 3, and then I thought it will be better if I can use Pydroid 3 on PC. So I installed the Nox emulator and installed Pydroid 3 app, and I tried to install kivymd with pip. Then it said Pydroid repository…
Superjay
  • 447
  • 1
  • 7
  • 25
2
votes
1 answer

Kivy buildozer using wrong version of Kivy and KivyMD when packaging for android

I am using VirtualBox wih Ubuntu 20.04.1 and have installed kivymd version 0.104.2dev0 and kivy version 2.0.0. However, when I run the app on my phone alongside buildozer android logcat, it says that the kivy version is v1.11.1 and kivymd version…
TomBentIt
  • 63
  • 7
2
votes
1 answer

Kivy >> On Press method triggered twice

For some reason the On Press event for the instance of Word_button is being triggered twice. The code below demonstrates this. To repeat the problem. run the code below click on the "CREATE LIST OF WORD" button. This create a list of buttons. …