Fixing issue where drag icons/holographic bg included the text labels.

Change-Id: I0be61ca6de45a75a21bde7ab9471ee48e31712fc
This commit is contained in:
Winson Chung
2011-02-03 23:56:47 -08:00
parent de4149cf71
commit 0969300eb2

View File

@@ -283,7 +283,7 @@ public class BubbleTextView extends TextView implements VisibilityChangedBroadca
super.draw(canvas);
canvas.save(Canvas.CLIP_SAVE_FLAG);
canvas.clipRect(mScrollX, mScrollY + getExtendedPaddingTop(), mScrollX + getWidth(),
mScrollY + getHeight(), Region.Op.REPLACE);
mScrollY + getHeight(), Region.Op.INTERSECT);
getPaint().setShadowLayer(SHADOW_SMALL_RADIUS, 0.0f, 0.0f, SHADOW_SMALL_COLOUR);
super.draw(canvas);
canvas.restore();