Merge "Consider mScrollX when drawing the checkMarkDrawable"

This commit is contained in:
Adam Powell
2013-07-17 00:04:28 +00:00
committed by Gerrit Code Review

View File

@@ -242,7 +242,7 @@ public class CheckedTextView extends TextView implements Checkable {
right = width - mBasePadding;
left = right - mCheckMarkWidth;
}
checkMarkDrawable.setBounds( left, top, right, bottom);
checkMarkDrawable.setBounds(mScrollX + left, top, mScrollX + right, bottom);
checkMarkDrawable.draw(canvas);
}
}