Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Padding not working with screenratio? #11

Open
mikestu opened this issue Mar 12, 2014 · 0 comments
Open

Padding not working with screenratio? #11

mikestu opened this issue Mar 12, 2014 · 0 comments

Comments

@mikestu
Copy link

mikestu commented Mar 12, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant