1. seandroid
  2. Untitled project
  3. frameworks/base

Commits

Adam Powell  committed 30ad720 Merge

Merge "Consider mScrollX when drawing the checkMarkDrawable"

  • Participants
  • Parent commits 4b8cc94, 78cdc55
  • Branches master

Comments (0)

Files changed (1)

File core/java/android/widget/CheckedTextView.java

View file
  • Ignore whitespace
                 right = width - mBasePadding;
                 left = right - mCheckMarkWidth;
             }
-            checkMarkDrawable.setBounds( left, top, right, bottom);
+            checkMarkDrawable.setBounds(mScrollX + left, top, mScrollX + right, bottom);
             checkMarkDrawable.draw(canvas);
         }
     }