Android UIs Views (UI widgets જેમ કે buttons, text) થી બનાવવામાં આવે છે જે ViewGroups/layouts (LinearLayout, ConstraintLayout જેવા containers) દ્વારા ગોઠવવામાં આવે છે. પરંપરાગત રીતે XML layouts માં વ્યાખ્યાયિત, આધુનિક Android વધુને વધુ Jetpack Compose (declarative) નો ઉપયોગ કરે છે. view system સમજવું UI બનાવવા માટે મૂળભૂત છે.
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).
