RecycleGridLayout

RecycleGridLayout class equivalent. Simplifies working with some widget properties. For example:

RecycleGridLayout

RecycleGridLayout:
    size_hint_y: None
    height: self.minimum_height

    canvas:
        Color:
            rgba: app.theme_cls.primaryColor
        Rectangle:
            pos: self.pos
            size: self.size

MDRecycleGridLayout

MDRecycleGridLayout:
    adaptive_height: True
    md_bg_color: app.theme_cls.primaryColor

Available options are:

adaptive_height

adaptive_height: True

Equivalent

size_hint_y: None
height: self.minimum_height

adaptive_width

adaptive_width: True

Equivalent

size_hint_x: None
width: self.minimum_width

adaptive_size

adaptive_size: True

Equivalent

size_hint: None, None
size: self.minimum_size

API - kivymd.uix.recyclegridlayout

class kivymd.uix.recyclegridlayout.MDRecycleGridLayout(*args, **kwargs)

Recycle grid layout class.

For more information, see in the DeclarativeBehavior and ThemableBehavior and BackgroundColorBehavior and RecycleGridLayout and MDAdaptiveWidget classes documentation.