Android UIs zijn opgebouwd uit Views (UI-widgets zoals knoppen, tekst) gerangschikt door ViewGroups/layouts (containers zoals LinearLayout, ConstraintLayout). Traditioneel gedefinieerd in XML layouts, modern Android gebruikt steeds vaker Jetpack Compose (declaratief). Het begrijpen van het view-systeem is fundamenteel voor het bouwen van UIs.
Views en ViewGroups
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).
