mirror of
https://github.com/alibaba/vlayout.git
synced 2026-10-16 20:51:03 +08:00
Fix layout calculate in horizontal mode.
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@
|
||||
GROUP=com.alibaba.android
|
||||
ARTIFACT=vlayout
|
||||
VERSION=1
|
||||
VERSION_NAME=1.2.36
|
||||
VERSION_NAME=1.2.37
|
||||
PACKAGING_TYPE=aar
|
||||
useNewSupportLibrary=true
|
||||
systemProp.compileSdkVersion=26
|
||||
|
||||
@@ -206,7 +206,7 @@ public abstract class BaseLayoutHelper extends MarginLayoutHelper {
|
||||
mLayoutRegion.right = helper.getContentWidth() - helper.getPaddingRight() - mMarginRight;
|
||||
} else {
|
||||
mLayoutRegion.top = helper.getPaddingTop() + mMarginTop;
|
||||
mLayoutRegion.bottom = helper.getContentWidth() - helper.getPaddingBottom() - mMarginBottom;
|
||||
mLayoutRegion.bottom = helper.getContentHeight() - helper.getPaddingBottom() - mMarginBottom;
|
||||
}
|
||||
|
||||
bindLayoutView(mLayoutView);
|
||||
|
||||
Reference in New Issue
Block a user