Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 25517fdc authored by Adam Powell's avatar Adam Powell Committed by Android Git Automerger
Browse files

am 637c50db: am c7e5a2fe: Merge "Fix dividers for LinearLayout (TabWidget)"

* commit '637c50db':
  Fix dividers for LinearLayout (TabWidget)
parents bb69bde5 637c50db
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -307,7 +307,7 @@ public class LinearLayout extends ViewGroup {
            if (child != null && child.getVisibility() != GONE) {
                if (hasDividerBeforeChildAt(i)) {
                    final LayoutParams lp = (LayoutParams) child.getLayoutParams();
                    final int top = child.getTop() - lp.topMargin;
                    final int top = child.getTop() - lp.topMargin - mDividerHeight;
                    drawHorizontalDivider(canvas, top);
                }
            }
@@ -334,7 +334,7 @@ public class LinearLayout extends ViewGroup {
            if (child != null && child.getVisibility() != GONE) {
                if (hasDividerBeforeChildAt(i)) {
                    final LayoutParams lp = (LayoutParams) child.getLayoutParams();
                    final int left = child.getLeft() - lp.leftMargin;
                    final int left = child.getLeft() - lp.leftMargin - mDividerWidth;
                    drawVerticalDivider(canvas, left);
                }
            }