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

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

Merge "Tighten up vertical spacing in landscape all apps." into ub-launcher3-dorval-polish

parents 07eeb60c 4e358271
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -27,7 +27,9 @@
    <!-- Dynamic grid -->
    <dimen name="dynamic_grid_overview_bar_item_width">120dp</dimen>
    <dimen name="dynamic_grid_min_page_indicator_size">48dp</dimen>
    <dimen name="folder_preview_padding">5dp</dimen>
    <dimen name="dynamic_grid_icon_drawable_padding">4dp</dimen>

    <dimen name="folder_preview_padding">2dp</dimen>

    <!-- Hotseat -->
    <dimen name="dynamic_grid_hotseat_land_left_nav_bar_right_padding">18dp</dimen>
+7 −1
Original line number Diff line number Diff line
@@ -326,7 +326,13 @@ public class DeviceProfile {
        if (isVerticalBarLayout()) {
            // Always hide the Workspace text with vertical bar layout.
            iconTextSizePx = 0;
            allAppsCellHeightPx += Utilities.calculateTextHeight(allAppsIconTextSizePx);
            iconDrawablePaddingPx = 0;

            // Manually compute all apps cell height since workspace cells have less content.
            allAppsCellHeightPx = allAppsIconSizePx + allAppsIconDrawablePaddingPx
                    + Utilities.calculateTextHeight(allAppsIconTextSizePx)
                    // Top and bottom padding is equal to the drawable padding
                    + allAppsIconDrawablePaddingPx * 2;
        }

        cellWidthPx = iconSizePx + iconDrawablePaddingPx;