mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 18:06:48 +00:00
Added Gravity.CENTER_HORIZONTAL to drop target layout params.
I'm not sure if it is strictly necessary, but it is probably good to be more explicit regardless. Change-Id: Ib7647dbcb5449e22ef87da8d49b4e7804ba5c17f
This commit is contained in:
@@ -582,7 +582,7 @@ public class DeviceProfile {
|
||||
targetsLp.height = LayoutParams.WRAP_CONTENT;
|
||||
} else {
|
||||
// Horizontal drop target bar space
|
||||
lp.gravity = verticalGravity;
|
||||
lp.gravity = verticalGravity | Gravity.CENTER_HORIZONTAL;
|
||||
lp.height = searchBarSpaceHeightPx;
|
||||
}
|
||||
return lp;
|
||||
|
||||
Reference in New Issue
Block a user