Fixed an issue where the shouldExpand flag didn't work. (this was due to onMeasure not measuring the child views after updating their layout params).
Moved the call to super.onMeasure to the bottom of the onMeasureMethod.
Merge pull request #4 from doubleencore/bug_should_expand_bug

Fixed an issue where the shouldExpand flag didn't work.