Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

Section Header Layout's layout params are ignored in SimpleSectionAdapter #8

Open
garhiggins opened this issue Dec 10, 2014 · 0 comments

Comments

@garhiggins
Copy link

When inflating the section header layout, the parent ViewGroup should be supplied:
View.inflate(mContext, mSectionHeaderLayoutId, parent);

Currently, null is passed as the parent, and the section header's layout params are ignored. The easiest work around I've found is to add a wrapper LinearLayout or RelativeLayout to the section header layout.

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

No branches or pull requests

1 participant