Skip to content

Padding not working with screenratio? #11

@mikestu

Description

@mikestu

I have a layout with two sub LinearLayouts. The first is set to ScreenRatio of 0.4f, the second with 0.6f (40%/60% split). For the second one, I need it to have a right padding of 20, but the views inside of it always butt right up against the screen. I also tried putting right padding on the sub controls, but same thing. It seems like padding just doesn't work with this WidthUnits setting, but maybe I'm doing something wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions