mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Fixing custom content screen not aligned properly in landscape
Bug: 26413100 Change-Id: I1a111c9d2b0dfdfbc3cbd566e5784a1ed2bb6719
This commit is contained in:
@@ -819,7 +819,7 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
|
||||
childWidthMode = MeasureSpec.EXACTLY;
|
||||
childHeightMode = MeasureSpec.EXACTLY;
|
||||
|
||||
childWidth = getViewportWidth() - mInsets.left - mInsets.right;
|
||||
childWidth = getViewportWidth();
|
||||
childHeight = getViewportHeight();
|
||||
}
|
||||
if (referenceChildWidth == 0) {
|
||||
|
||||
Reference in New Issue
Block a user