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

如何控制footer和header的高度 #106

Open
idealgn opened this issue Jul 4, 2017 · 3 comments
Open

如何控制footer和header的高度 #106

idealgn opened this issue Jul 4, 2017 · 3 comments

Comments

@idealgn
Copy link

idealgn commented Jul 4, 2017

footer和header的高度与中间item的高度不一致,怎么去控制,求大神解答下

@dev3932
Copy link

dev3932 commented Oct 11, 2017

footer和header的宽高是单独控制的
View headerView = LayoutInflater.from(getContext()).inflate(R.layout.xxxx, rev, false);
R.layout.xxxx 是header布局文件,在里面自己修改
rev是你需要填充数据的RecyclerView
xxxxWrapper.addHeaderView(headerView);

@idealgn
Copy link
Author

idealgn commented Oct 11, 2017 via email

@w1570187062
Copy link

这个方法不管用 @dev3932

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

3 participants