Android UIs Views (UI widgets जसे की buttons, text) आणि ViewGroups/layouts (containers जसे की LinearLayout, ConstraintLayout) यांच्या मदतीने तयार केली जातात. पारंपरिकपणे XML layouts मध्ये परिभाषित केली जातात, आधुनिक Android वेढे Jetpack Compose (declarative) वापरते. UI निर्माण करण्यासाठी view system समजणे हे मूलभूत आहे.
Views आणि 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).
