Merge "Setting hotseat padding to the container for symmetry" into ub-launcher3-burnaby

This commit is contained in:
Sunny Goyal
2015-03-05 23:45:21 +00:00
committed by Android (Google) Code Review
+1 -2
View File
@@ -766,8 +766,7 @@ public class DeviceProfile {
lp.gravity = Gravity.BOTTOM; lp.gravity = Gravity.BOTTOM;
lp.width = LayoutParams.MATCH_PARENT; lp.width = LayoutParams.MATCH_PARENT;
lp.height = hotseatBarHeightPx; lp.height = hotseatBarHeightPx;
hotseat.findViewById(R.id.layout).setPadding(2 * edgeMarginPx, 0, hotseat.setPadding(2 * edgeMarginPx, 0, 2 * edgeMarginPx, 0);
2 * edgeMarginPx, 0);
} }
hotseat.setLayoutParams(lp); hotseat.setLayoutParams(lp);