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

Enable linespacing for versions >= Lollipop (5.0) #13

Merged
merged 1 commit into from
Mar 29, 2017

Conversation

zezhouliu
Copy link
Collaborator

Summary

This PR makes enables lineSpacing on Android. It is based on facebook#9420, differing only with respect to minor library import references.

This deprecates an older PR: #8

Pictures of changes

Android fonts on Airbnb app

screen shot 2017-01-23 at 9 23 25 pm

Android fonts specific use cases:

screen shot 2017-01-23 at 9 25 30 pm

screen shot 2017-01-23 at 9 27 42 pm

@@ -260,7 +278,7 @@ public void setBorderRadius(float borderRadius, int position) {
}

public void setBorderStyle(@Nullable String style) {
getOrCreateReactViewBackground().setBorderStyle(style);
getOrCreateReactViewBackground().setBogit rderStyle(style);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

git :P

@lelandrichardson
Copy link
Collaborator

LGTM

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