am eebd9249: Fix bug 2236111 - right edge of widget chopped-off while dragging
Merge commit 'eebd92496e2fbfbd81ea871862a681929101ba06' into eclair-mr2 * commit 'eebd92496e2fbfbd81ea871862a681929101ba06': Fix bug 2236111 - right edge of widget chopped-off while dragging
This commit is contained in:
@@ -84,9 +84,7 @@ public class DragView extends View implements TweenCallback {
|
||||
|
||||
@Override
|
||||
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
|
||||
int widthSize = resolveSize(mBitmap.getWidth(), widthMeasureSpec);
|
||||
int heightSize = resolveSize(mBitmap.getHeight(), heightMeasureSpec);
|
||||
setMeasuredDimension(widthSize, heightSize);
|
||||
setMeasuredDimension(mBitmap.getWidth(), mBitmap.getHeight());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user