user3626048
user3626048

Reputation: 736

Python kivy listview with custom layout?

I'm trying to write application in kivy. I would like it to have listview with custom row layout (label on top, below image scaled to window width and below some images, labels and button - see pic). Is it possible to do that with kivy.uix.listview? Or some other way? I was looking on docs but I couldn't find answer to my question.

example

Upvotes: 0

Views: 613

Answers (1)

jligeza
jligeza

Reputation: 4693

Yes, it is written in docs here: Adapter

Use either cls or template property to link a customized widget to a list view.

Here you can see cls bound to ListItemButton. Put your own widget in its place.

Upvotes: 1

Related Questions