修正气泡位置计算错误

This commit is contained in:
seven332 committed 2014-12-02 16:53:11 +08:00
1 parent 03837d4ea4
commit f653151acb
1 file changed
+1 -1
@@ -423,7 +423,7 @@ public class GalleryActivity extends AbsActivity
mPageSeeker.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL)
offsetX = width - thumbOffset - totalOffsetX;
else
offsetX = totalOffsetX / max + thumbOffset;
offsetX = totalOffsetX + thumbOffset;
mSeekerBubble.setX(offsetX);
mSeekerBubble.setText(String.valueOf(progress + 1));