0cce0a62c1
Summary: `backfaceVisibility` was only available on iOS and 3D transformations were lacking on Android. Backface Visibility is computed from ~the decomposed matrix of transform prop~ the view with their rotation degree values. ~`MatrixDecompositionContext` properties have been made public so we can access to decomposed matrix values from outside (`ReactViewGroup`).~ I'm not sure if this is the best implementation, so if it's not let's discuss it. cc janicduplessis foghina Tested in https://github.com/charpeni/react-native-backface-visibility. | Before | Now | | - | - | | <img src="https://user-images.githubusercontent.com/7189823/30123717-e5361598-9300-11e7-8e2e-a87a7a8d896a.gif" width="260" /> | <img src="https://user-images.githubusercontent.com/7189823/30514997-4d203572-9aee-11e7-8542-bfde41678eb6.gif" width="244" /> | | iOS | Android | | - | - | | <img src="https://user-images.githubusercontent.com/7189823/36995899-609513b4-2083-11e8-9834-ee44c1a292e1.gif" width="300" /> | <img src="https://user-images.githubusercontent.com/7189823/36995978-9ed3b158-2083-11e8-841e-b9e3357d2509.gif" width="240" /> | [ANDROID] [FEATURE] [ReactViewGroup] - Add backface-visibility support on Android Pull Request resolved: https://github.com/facebook/react-native/pull/15970 Differential Revision: D9411130 Pulled By: hramos fbshipit-source-id: 62f646a4de37d83922286cb98893a95b55fa889e |
||
---|---|---|
.. | ||
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.