Use Android Gradle plugin 0.6.x and Android SDK/build tools 19.
Use Android support v4 library version 19.0.x.
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.