File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ void drawDividersVertical(Canvas canvas) {
309309 if (child != null && child .getVisibility () != GONE ) {
310310 if (hasDividerBeforeChildAt (i )) {
311311 final LayoutParams lp = (LayoutParams ) child .getLayoutParams ();
312- final int top = child .getTop () - lp .topMargin ;
312+ final int top = child .getTop () - lp .topMargin - mDividerHeight ;
313313 drawHorizontalDivider (canvas , top );
314314 }
315315 }
@@ -336,7 +336,7 @@ void drawDividersHorizontal(Canvas canvas) {
336336 if (child != null && child .getVisibility () != GONE ) {
337337 if (hasDividerBeforeChildAt (i )) {
338338 final LayoutParams lp = (LayoutParams ) child .getLayoutParams ();
339- final int left = child .getLeft () - lp .leftMargin ;
339+ final int left = child .getLeft () - lp .leftMargin - mDividerWidth ;
340340 drawVerticalDivider (canvas , left );
341341 }
342342 }
You can’t perform that action at this time.
0 commit comments