Android-UIs werden aus Views (UI-Widgets wie Buttons, Text) gebaut, die von ViewGroups/Layouts (Container wie LinearLayout, ConstraintLayout) angeordnet werden. Traditionell in XML-Layouts definiert, nutzt modernes Android zunehmend Jetpack Compose (deklarativ). Das Verständnis des View-Systems ist grundlegend für den Aufbau von UIs.
Views und 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).
