react-native/ReactAndroid
Janic Duplessis 3a33e75183 Fix textTransform when used with other text styles on Android (#22670)
Summary:
On Android `textTransform` breaks other styles applied to the text. It seems related to the usage of `ReplacementSpan` which allows drawing the text manually but seems to throw away some changes made by other span applied to the text.

To fix it I removed the usage of `ReplacementSpan` and simply transform the text before appending it to the `Spannable` string. To make sure textTransform is inherited correctly I added it to TextAttributes which handles this.
Pull Request resolved: https://github.com/facebook/react-native/pull/22670

Differential Revision: D13494819

Pulled By: cpojer

fbshipit-source-id: 1c69591084aa906c2d3b10153b354d39c0936340
2019-01-25 06:27:21 -08:00
..
libs Upgrade Android support library to version 28 in RN 2019-01-22 10:44:53 -08:00
src Fix textTransform when used with other text styles on Android (#22670) 2019-01-25 06:27:21 -08:00
.npmignore
DevExperience.md
README.md Fixing link to Android build guide. 2018-05-27 15:17:55 -07:00
build.gradle - update to gradle 4.10.1 or high (#23103) 2019-01-25 03:26:32 -08:00
gradle.properties bump okhttp to 3.12.1 (#22877) 2019-01-14 10:34:30 -08:00
proguard-rules.pro RN: Missing Copyright Headers 2018-10-31 01:37:26 -07:00
release.gradle - update to gradle 4.10.1 or high (#23103) 2019-01-25 03:26:32 -08:00

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.