am 6cc74de5: am eebd9249: Fix bug 2236111 - right edge of widget chopped-off while dragging

Merge commit '6cc74de5978b79cb7a828e772f48d73de8b13335' into eclair-mr2-plus-aosp

* commit '6cc74de5978b79cb7a828e772f48d73de8b13335':
  Fix bug 2236111 - right edge of widget chopped-off while dragging
This commit is contained in:
Joe Onorato
2009-11-04 13:23:47 -08:00
committed by Android Git Automerger
+1 -3
View File
@@ -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