-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
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
当为网格布局时间距问题 #74
Comments
间距大小取决于margin的值,如果大了,你的值改小一点。另外item设置margin时,中间的间隔会大,因为中间的间隔是两个item的边距合在一起的。 |
嗯,不过我需要和上面的线性布局两侧的间距统一,这没什么方法修改吗
…------------------ 原始邮件 ------------------
发件人: "donkingliang/GroupedRecyclerViewAdapter" ***@***.***>;
发送时间: 2021年6月11日(星期五) 下午3:33
***@***.***>;
***@***.******@***.***>;
主题: Re: [donkingliang/GroupedRecyclerViewAdapter] 当为网格布局时间距问题 (#74)
间距大小取决于margin的值,如果大了,你的值改小一点。另外item设置margin时,中间的间隔会大,因为中间的间隔是两个item的边距合在一起的。
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
动态计算设置左边item的做边距和右边item的右边距 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
网格布局时,在根布局加margin,间距会变大,怎么修改?
The text was updated successfully, but these errors were encountered: