Merge "Update drawable matrix when bounds change in invalidateDrawable()" into mnc-dr-dev am: 840f38905c am: e3d745291e
am: c3e46adc77
* commit 'c3e46adc7797b4e894ef1e8ffd972acddb8fbbfa':
Update drawable matrix when bounds change in invalidateDrawable()
This commit is contained in:
@@ -234,6 +234,8 @@ public class ImageView extends View {
|
||||
if (w != mDrawableWidth || h != mDrawableHeight) {
|
||||
mDrawableWidth = w;
|
||||
mDrawableHeight = h;
|
||||
// updates the matrix, which is dependent on the bounds
|
||||
configureBounds();
|
||||
}
|
||||
}
|
||||
/* we invalidate the whole view in this case because it's very
|
||||
|
||||
Reference in New Issue
Block a user