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

Fix #78: Overlapping Sensor Fields #80

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

s3lph
Copy link

@s3lph s3lph commented May 13, 2020

This PR fixes #78 by using a ConstraintLayout rather than a RelativeLayout for layouting the sensor fields.

This introduces another dependency (ConstraintLayout comes in a separate androidx support library), but RelativeLayout doesn't handle this specific case very well, and creating this layout with LinearLayout would require multiple levels of nesting.

Before:
before

After:
after

…ayout for sensor entries, as ConstraintLayouts deal better with missing views
@rorist
Copy link
Member

rorist commented May 13, 2020

Hello, very nice looks good to me.

@dbrgn
Copy link
Contributor

dbrgn commented May 13, 2020

Yeah, ConstraintLayout is pretty nice 🙂 Haven't tested it, but the code looks good to me.

Copy link
Contributor

@dbrgn dbrgn left a 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!

@rnestler
Copy link

Tested it on my Pixel 3a, looks good!

So why not merge it?

@dbrgn
Copy link
Contributor

dbrgn commented Jun 25, 2020

@rorist is the maintainer 🙂

@dbrgn
Copy link
Contributor

dbrgn commented Nov 23, 2020

Obsolete if #85 is merged.

@rnestler
Copy link

Ping @rorist

@dbrgn
Copy link
Contributor

dbrgn commented Feb 7, 2021

#85 was merged in the fork, so this can probably be closed.

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

Successfully merging this pull request may close these issues.

Long sensor descriptions overlapping with sensor location
4 participants