Much thanks to http://prativas.wordpress.com/category/android/expandable-list-view-in-android/