Skip to content

Close #245. Make 1st token line height consistent #326

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

Merged
merged 3 commits into from
Oct 25, 2017
Merged

Conversation

mgod
Copy link
Contributor

@mgod mgod commented Sep 20, 2017

Also adds support for Espresso tests.

@alexcustos I think this solves the line spacing a little more cleanly than #315. I was able to start with your changes and find a simpler solution that has the added benefit of aligning baselines if the token view support that. Can you check and let me know if this resolved the alignment issues you were seeing?

@alexcustos
Copy link
Contributor

alexcustos commented Sep 24, 2017

Thank you for the great solution. It works perfectly for me. I have only one minor suggestion. A little adjustment is still needed to show a line with one token, so it's maybe a good idea to put a warning about it.

@mgod mgod force-pushed the mw/android-tests branch from 70b0291 to deee728 Compare October 25, 2017 14:50
@mgod
Copy link
Contributor Author

mgod commented Oct 25, 2017

I'm probably going to roll together a a few breaking changes and include this and some other improvements in a 3.0 release with notes on an upgrade path. Was the fix in your case to adjust the view height? I didn't have any trouble like this, so I'm not sure what fix to recommend.

@mgod mgod force-pushed the mw/android-tests branch from deee728 to 03d33e7 Compare October 25, 2017 14:57
@mgod mgod merged commit 5b0351b into master Oct 25, 2017
@mgod mgod deleted the mw/android-tests branch October 25, 2017 15:57
@alexcustos
Copy link
Contributor

I've tested it with Android Studio 3.0 and Support Library 26.1.0 and found no issue with your fix. It looked like:
tags_hs

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.

2 participants