Skip to content
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

横向加载更多布局问题 #3865

Open
liupeng176 opened this issue May 13, 2024 · 2 comments
Open

横向加载更多布局问题 #3865

liupeng176 opened this issue May 13, 2024 · 2 comments

Comments

@liupeng176
Copy link

recyclerview设置为横向加载的时候,loadmore会占满一屏。这是不符合横向设计的。
加载更多 baseAdapter.loadMoreModule.loadMoreView 类
SimpleLoadMoreView这个只适合在竖向的时候用,这个时候宽是match_parent,高是wrap_content,居中,布局里面的加载中圆圈在loading文字的前面,这是没问题的。
但是横向时候就需要改为宽wrap_content,高match_parent,并且布局里面的加载中圆圈要在loading文字的上面,这才符合横向的情况,希望修改一下。

@Xxj-star
Copy link

遥遥领先

@liupeng176
Copy link
Author

不要忘记center居中

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants