211ea485cd
Summary: The custom font I'm using requires using `includeFontPadding={false}` to be correctly centered vertically. The only case where this is not working is with the placeholder of `TextInput`. To fix it we call `setIncludeFontPadding` on the `EditText` instance, like we do for `Text`. ## Changelog [Android] [Fixed] - Fix `includeFontPadding` for `TextInput` placeholder Pull Request resolved: https://github.com/facebook/react-native/pull/26432 Test Plan: Tested the fix in an app. Before ![image](https://user-images.githubusercontent.com/2677334/64898120-f1de0600-d653-11e9-97b3-f53416d5f9fe.png) After ![image](https://user-images.githubusercontent.com/2677334/64897961-5b114980-d653-11e9-8897-baa14fc0f56c.png) Reviewed By: mdvacca, mmmulani Differential Revision: D17468767 Pulled By: JoshuaGross fbshipit-source-id: ae29debf9a57198a636a24ec8ed9ba3d77f0a73e |
||
---|---|---|
.. | ||
libs | ||
src | ||
.npmignore | ||
DevExperience.md | ||
README.md | ||
build.gradle | ||
gradle.properties | ||
proguard-rules.pro | ||
release.gradle |
README.md
Building React Native for Android
See the docs on the website.
Running tests
When you submit a pull request CircleCI will automatically run all tests. To run tests locally, see Testing.