Fix #741
This commit is contained in:
@@ -98,7 +98,7 @@ public class WrappingLinearLayout extends ViewGroup{
|
|||||||
xOffset+=mlp.leftMargin+mlp.rightMargin;
|
xOffset+=mlp.leftMargin+mlp.rightMargin;
|
||||||
}
|
}
|
||||||
firstInRow=false;
|
firstInRow=false;
|
||||||
}else{
|
}else if(currentRowIndex<rowHeights.size()-1){
|
||||||
xOffset=rtl ? getPaddingRight() : getPaddingLeft();
|
xOffset=rtl ? getPaddingRight() : getPaddingLeft();
|
||||||
yOffset+=rowHeight+verticalGap;
|
yOffset+=rowHeight+verticalGap;
|
||||||
currentRowIndex++;
|
currentRowIndex++;
|
||||||
|
|||||||
Reference in New Issue
Block a user