Open Collective
Open Collective
Back to conversations

how to change background color to dual tone

Rahul Gothwal

Posted on August 8, 2020

i was building a calculator app using kivy and i want to change the background color to dual tonned color.
how can i achieve this using kivy/kivyMD?
something like this

Manuel Alfonso Ortiz Lopez

Posted on September 20, 2020

you can always use kivy.image.Coreimage and load an inmemory texture
use PIL to create a gradient image and load it directly to the coreimage, then you can use image.texture=coreimage.texture.

Conversation followers


background color