Fix container horizontal padding
Change-Id: I41b84db6d71df7f4e47098fa9ed7eda4465f18c3
This commit is contained in:
1 parent
e26d1008eb
commit
0f1ce045e2
1 file changed
+1
-1
@@ -53,7 +53,7 @@ public abstract class BaseContainerView extends FrameLayout {
|
||||
Launcher launcher = Launcher.getLauncher(context);
|
||||
int width = launcher.getDeviceProfile().availableWidthPx;
|
||||
if (FeatureFlags.LAUNCHER3_ALL_APPS_PULL_UP &&
|
||||
this instanceof AllAppsContainerView && launcher.getDeviceProfile().isLandscape) {
|
||||
this instanceof AllAppsContainerView && !launcher.getDeviceProfile().isLandscape) {
|
||||
mHorizontalPadding = 0;
|
||||
} else {
|
||||
mHorizontalPadding = DeviceProfile.getContainerPadding(context, width);
|
||||
|
||||
Reference in new issue
Block a user