Tógtar UInna san Android ó Views (giuirléidí UI cosúil le cnaipí, téacs) a raithíodh le ViewGroups/leathánna (coimeádáin cosúil le LinearLayout, ConstraintLayout). Sainithe go traidisiúnta i leathánna XML, is gá gur úsáideann Android nua-aimseartha i bhformhór Jetpack Compose (dearbhuitheach). Is bunúsach an tuiscint ar an gcóras view chun UInna a thógáil.
Views agus 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).
