how to change background color to dual tone.

15 views
Skip to first unread message

Remo G

unread,
Aug 8, 2020, 12:01:20 AM8/8/20
to Kivy users support
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

Robert Flatt

unread,
Aug 9, 2020, 1:49:44 AM8/9/20
to Kivy users support
There really isn't much KivyMD experience here.
KivyMD is a very different component implementation from Kivy, though it does depend on Kivy infrastructure.

A quick search here show a related question for Kivy:

Alexander Taylor

unread,
Aug 9, 2020, 7:30:53 AM8/9/20
to Kivy users support
The basic method would be to use a background image consisting of as few as two pixels, one blue and one pink, and letting Kivy interpolate them. You can do this entirely programmatically, but generating the image externally may be an easier way to get started.
Reply all
Reply to author
Forward
0 new messages