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

Commit cea2480c authored by Brian Isganitis's avatar Brian Isganitis
Browse files

Properly center all apps divider.

Fix: 223837782
Test: Manual on large and small screens in portrait and landscape.
Change-Id: Ie4d609ce6524cc739d00bec5a8d26ec4c4152633
parent 968c3256
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -194,7 +194,7 @@ public class AppsDividerView extends View implements FloatingHeaderRow {
    @Override
    protected void onDraw(Canvas canvas) {
        if (mDividerType == DividerType.LINE) {
            int l = (getWidth() - getPaddingLeft() - mDividerSize[0]) / 2;
            int l = (getWidth() - mDividerSize[0]) / 2;
            int t = getHeight() - (getPaddingBottom() / 2);
            int radius = mDividerSize[1];
            canvas.drawRoundRect(l, t, l + mDividerSize[0], t + mDividerSize[1], radius, radius,