Merge "Add new sample code for writing a ViewGroup." into jb-mr2-dev