Update: Added support for ViewGroup children and added a example.