Android UIはビュー(ボタンやテキストなどのUIウィジェット)とViewGroup/レイアウト(LinearLayoutやConstraintLayoutなどのコンテナ)で構築されます。従来はXMLレイアウトで定義されていますが、現代のAndroidではますますJetpack Compose(宣言型)を使用しています。ビューシステムの理解はUIの構築に不可欠です。
ビューとViewGroup
VIEW → a single UI element (TextView, Button, ImageView, EditText, etc.)
VIEWGROUP → a container that holds/arranges child views (LinearLayout, ConstraintLayout,
FrameLayout, RecyclerView, etc.) — layouts ARE ViewGroups
→ UIs are a TREE of views inside view groups (composition).
