Merge "Setting hotseat padding to the container for symmetry" into ub-launcher3-burnaby
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user