-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Rounded corner rendering fixed on Android N. #21340
Conversation
@@ -241,8 +241,7 @@ public void setBorderRadius(float borderRadius) { | |||
ReactViewBackgroundDrawable backgroundDrawable = getOrCreateReactViewBackground(); | |||
backgroundDrawable.setRadius(borderRadius); | |||
|
|||
if (Build.VERSION_CODES.HONEYCOMB < Build.VERSION.SDK_INT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't support targets below HONEYCOMB anyway. The only API level affected by the original check was 16.
Generated by 🚫 dangerJS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hramos is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@dryganets merged commit 748cf82 into Once this commit is added to a release, you will see the corresponding version tag below the description at 748cf82. If the commit has a single |
Summary: On Android N (API 24) rounded corners rendering has issues in case scale factor is set for the view. Pull Request resolved: #21340 Differential Revision: D10084318 Pulled By: hramos fbshipit-source-id: 53ae5a32b96cc7ee7eba084330682239d8beb85d
Summary: On Android N (API 24) rounded corners rendering has issues in case scale factor is set for the view. Pull Request resolved: facebook#21340 Differential Revision: D10084318 Pulled By: hramos fbshipit-source-id: 53ae5a32b96cc7ee7eba084330682239d8beb85d
On Android N (API 24) rounded corners rendering has issues in case scale factor is set for the view.
Test Plan:
Setup transform scale not equal 1.0 for view with rounded corners. On Android 7.0 view will be incorrectly positioned in case hardware optimization is turned on.
Release Notes:
[Android] [UI] [View] - Rounded corner rendering fixed on android 7.0.