[android] ImageButton.CornerRadius operates in DP #4819
Labels
area-controls-button
Button, ImageButton
platform/android 🤖
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Description
When you set ImageButton.CornerRadius on android it doesn't convert to px, so it appears wrong.
With this code
This is the result on iOS
This is the result on Android with a 420 dpi screen
Steps to Reproduce
Version with bug
Preview 13 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
All android with screen dpi != 160
Did you find any workaround?
Convert dp to px manually when setting CornerRadius
Relevant log output
No response
The text was updated successfully, but these errors were encountered: