Fixing custom content screen not aligned properly in landscape
am: ecdc24f6f6
* commit 'ecdc24f6f667319db56a16dd7d1efda16dfe662e':
Fixing custom content screen not aligned properly in landscape
This commit is contained in:
commit
92899800b7
2 files changed
+5
-3
No files matched your search
@@ -798,7 +798,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