RelativeLayout

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

RelativeLayout

RelativeLayout:
    canvas:
        Color:
            rgba: app.theme_cls.primary_color
        RoundedRectangle:
            pos: (0, 0)
            size: self.size
            radius: [25, ]

MDRelativeLayout

MDRelativeLayout:
    radius: [25, ]
    md_bg_color: app.theme_cls.primary_color

API - kivymd.uix.relativelayout

class kivymd.uix.relativelayout.MDRelativeLayout(**kw)

RelativeLayout class, see module documentation for more information.