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

Commit 9d96fd57 authored by Hyunyoung Song's avatar Hyunyoung Song
Browse files

Landscape container padding update.

b/30021487

Change-Id: I179825eba09f3c4c57175e8f6da49708dae1931c
parent c9a0a7c6
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -589,9 +589,9 @@ public class DeviceProfile {
            return new int[] {0, 0};
        }

        // In landscape, we just match the vertical display width
        int containerWidth = heightPx;
        int padding = (availableWidthPx - containerWidth) / 2;
        // In landscape, we match the width of the workspace
        int padding = (pageIndicatorLandGutterRightNavBarPx +
                hotseatBarHeightPx + hotseatLandGutterPx + mInsets.left) / 2;
        return new int[]{ padding, padding };
    }
}