-
Notifications
You must be signed in to change notification settings - Fork 29
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
Fix #78: Overlapping Sensor Fields #80
base: master
Are you sure you want to change the base?
Fix #78: Overlapping Sensor Fields #80
Conversation
…ayout for sensor entries, as ConstraintLayouts deal better with missing views
Hello, very nice looks good to me. |
Yeah, ConstraintLayout is pretty nice 🙂 Haven't tested it, but the code looks good to me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested it on my Pixel 3a, looks good!
So why not merge it? |
@rorist is the maintainer 🙂 |
Obsolete if #85 is merged. |
Ping @rorist |
#85 was merged in the fork, so this can probably be closed. |
This PR fixes #78 by using a
ConstraintLayout
rather than aRelativeLayout
for layouting the sensor fields.This introduces another dependency (
ConstraintLayout
comes in a separate androidx support library), butRelativeLayout
doesn't handle this specific case very well, and creating this layout withLinearLayout
would require multiple levels of nesting.Before:
After: