ViewGroupは、複数のViewを子に持てるView。
~Layoutと付くものが代表的なもの。
ViewGroup | Android Developers
MainActivityで、
getDecorViewで取得したdecorView1, decorView2は、ViewGroupにもキャストできる。
getChildCountで、子Viewがいくつあるか調べて表示する。
decorView1の子Viewの数は1。
decorView2の子Viewの数は1。
Sample/android/ViewGroup/ViewGroup/src/ViewGroup at master · bg1bgst333/Sample · GitHub