Merge "Using dragHandle for workspace padding calculation instead of pageIndicator" into ub-launcher3-edmonton
This commit is contained in:
commit
81abe79619
5 files changed
+11
-17
No files matched your search
@@ -42,8 +42,7 @@ public class LayoutUtils {
|
||||
if (dp.isVerticalBarLayout()) {
|
||||
extraSpace = 0;
|
||||
} else {
|
||||
Resources res = context.getResources();
|
||||
extraSpace = dp.hotseatBarSizePx + res.getDimension(R.dimen.vertical_drag_handle_size);
|
||||
extraSpace = dp.hotseatBarSizePx + dp.verticalDragHandleSizePx;
|
||||
}
|
||||
calculateTaskSize(context, dp, extraSpace, MULTI_WINDOW_STRATEGY_HALF_SCREEN, outRect);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user