am 2cd35662: Merge "Fix SeekBar when in RTL layout direction" into jb-mr1-dev
* commit '2cd35662caa824846555a3be595b7fa69337fa31': Fix SeekBar when in RTL layout direction
This commit is contained in:
@@ -304,7 +304,8 @@ public abstract class AbsSeekBar extends ProgressBar {
|
||||
}
|
||||
|
||||
// Canvas will be translated, so 0,0 is where we start drawing
|
||||
thumb.setBounds(thumbPos, topBound, thumbPos + thumbWidth, bottomBound);
|
||||
final int left = isLayoutRtl() ? available - thumbPos : thumbPos;
|
||||
thumb.setBounds(left, topBound, left + thumbWidth, bottomBound);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user