Fix adjustViewBounds handling for ImageView
When computing the adjusted view bounds, don't constrain the dimensions by the original estimate if the opposite dimension has a fixed size. This can result in the view never getting properly enlarged. Also fix a long-standing bug in MeasureSpec.makeMeasureSpec where oversized or negative values could result in broken packed values. Bug 72402519 Change-Id: I359d108ff52b6f3b5c4bf393d2271d28999c0127
Loading
Please register or sign in to comment