You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version used: Android 10
Devices/Android versions reproduced on: Xiaomi mi a3
When having 3 or buttons in linear layout on orientation i am getting:
IllegalArgumentException("width and height must be > 0") when Bitmap#createBitmap is called.
Note that the in FlatShape#updateShadowBitmap when val w = bounds.width() val h = bounds.height()
both width and height can be negative and this is not handled.
in the sample i run the height was -16.
Note that wrapping the linear layout with nested scroll view is a workaround to avoid crash.
The text was updated successfully, but these errors were encountered:
Version used: Android 10
Devices/Android versions reproduced on: Xiaomi mi a3
When having 3 or buttons in linear layout on orientation i am getting:
IllegalArgumentException("width and height must be > 0") when Bitmap#createBitmap is called.
Note that the in FlatShape#updateShadowBitmap when
val w = bounds.width() val h = bounds.height()
both width and height can be negative and this is not handled.
in the sample i run the height was -16.
Note that wrapping the linear layout with nested scroll view is a workaround to avoid crash.
The text was updated successfully, but these errors were encountered: