fix paddings
This commit is contained in:
parent
c908d0699e
commit
68685ccc1a
1 changed files with 1 additions and 1 deletions
|
|
@ -225,7 +225,7 @@ public class PitchView extends ViewGroup {
|
|||
textPaint.getTextBounds(this.text, 0, this.text.length(), textBounds);
|
||||
h += textBounds.height();
|
||||
h += dp2px(2);
|
||||
h += dp2px(pitchDlimiter + getPaddingTop() + getPaddingBottom());
|
||||
h += dp2px(pitchDlimiter) + getPaddingTop() + getPaddingBottom();
|
||||
|
||||
setMeasuredDimension(w, h);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue