From e0bca386247024728b1e71e9ae530fac7e5b3171 Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Mon, 6 Apr 2015 18:39:22 +0000 Subject: [PATCH] Revert "Setting hotseat padding to the container for symmetry" This reverts commit d81992b6e70e05a3c208e02d019e606b7cb8a0b7. Bug:20087585 Change-Id: I4949ec9e0e27afa218597b943001e7240cfdc548 --- src/com/android/launcher3/DeviceProfile.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/android/launcher3/DeviceProfile.java b/src/com/android/launcher3/DeviceProfile.java index 7d02e10b55..b97f0f2f78 100644 --- a/src/com/android/launcher3/DeviceProfile.java +++ b/src/com/android/launcher3/DeviceProfile.java @@ -766,7 +766,8 @@ public class DeviceProfile { lp.gravity = Gravity.BOTTOM; lp.width = LayoutParams.MATCH_PARENT; lp.height = hotseatBarHeightPx; - hotseat.setPadding(2 * edgeMarginPx, 0, 2 * edgeMarginPx, 0); + hotseat.findViewById(R.id.layout).setPadding(2 * edgeMarginPx, 0, + 2 * edgeMarginPx, 0); } hotseat.setLayoutParams(lp);