Interfețele Android sunt construite din Views (widget-uri UI cum ar fi butoane, text) aranjate de ViewGroups/layout-uri (containere cum ar fi LinearLayout, ConstraintLayout). Tradițional definite în layout-uri XML, Android-ul modern folosește din ce în ce mai mult Jetpack Compose (declarativ). Înțelegerea sistemului view este fundamentală pentru construirea interfețelor.
Views și 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).
