diff options
author | Adam Powell <adamp@android.com> | 2013-07-17 00:04:28 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2013-07-17 00:04:28 +0000 |
commit | 30ad720304790b07112b87f973a7e6ed5e1e6ee5 (patch) | |
tree | 4b4fe95f884c2c9f2434982ee073caf32f2ac425 /core/java/android/widget | |
parent | 4b8cc94cc67d760e724c56aee9301d1bcc2bbe89 (diff) | |
parent | 78cdc55f74bbbccf882a7ea5b2b1cf2dc41c87ca (diff) | |
download | frameworks_base-30ad720304790b07112b87f973a7e6ed5e1e6ee5.zip frameworks_base-30ad720304790b07112b87f973a7e6ed5e1e6ee5.tar.gz frameworks_base-30ad720304790b07112b87f973a7e6ed5e1e6ee5.tar.bz2 |
Merge "Consider mScrollX when drawing the checkMarkDrawable"
Diffstat (limited to 'core/java/android/widget')
-rw-r--r-- | core/java/android/widget/CheckedTextView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/widget/CheckedTextView.java b/core/java/android/widget/CheckedTextView.java index de8b80d..3f080d6 100644 --- a/core/java/android/widget/CheckedTextView.java +++ b/core/java/android/widget/CheckedTextView.java @@ -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); } } |