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

Commit 226107f1 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "For battery chart 7-bar case, remove the center two labels according to...

Merge "For battery chart 7-bar case, remove the center two labels according to UX designer's suggestion." into tm-qpr-dev
parents 95912773 bae18f13
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -515,7 +515,7 @@ public class BatteryChartView extends AppCompatImageView implements View.OnClick

    private boolean hasOverlap(
            final Rect[] displayAreas, final int leftIndex, final int rightIndex) {
        return displayAreas[leftIndex].right + mTextPadding * 2f > displayAreas[rightIndex].left;
        return displayAreas[leftIndex].right + mTextPadding * 2.3f > displayAreas[rightIndex].left;
    }

    private void drawAxisLabelText(