We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当item内容有超过一行的时候,会显示不完整,修复方法如下:源码392行 /** * 如果不需要换行,则累加 */ lineWidth += childWidth + lp.leftMargin + lp.rightMargin; //注释该该代码 //lineHeight = Math.max(lineHeight, childHeight + lp.topMargin // + lp.bottomMargin); //修复超过两行显示不完整,如果使用最大的item的高度,那么下面的item的高度也就是最大的,会造成显示不完整 lineHeight = childHeight + lp.topMargin + lp.bottomMargin; lineViews.add(child);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
当item内容有超过一行的时候,会显示不完整,修复方法如下:源码392行
/**
* 如果不需要换行,则累加
*/
lineWidth += childWidth + lp.leftMargin + lp.rightMargin;
//注释该该代码
//lineHeight = Math.max(lineHeight, childHeight + lp.topMargin
// + lp.bottomMargin);
//修复超过两行显示不完整,如果使用最大的item的高度,那么下面的item的高度也就是最大的,会造成显示不完整
lineHeight = childHeight + lp.topMargin
+ lp.bottomMargin;
lineViews.add(child);
The text was updated successfully, but these errors were encountered: