UI ของ Android สร้างขึ้นจาก Views (วิดเจ็ต UI เช่น ปุ่ม ข้อความ) ที่จัดเรียงโดย ViewGroups/layouts (คอนเทนเนอร์ เช่น LinearLayout, ConstraintLayout) ตามแบบดั้งเดิมจะกำหนดด้วย XML layouts ส่วน Android สมัยใหม่ใช้ Jetpack Compose (แบบ declarative) มากขึ้นเรื่อย ๆ การเข้าใจระบบ view เป็นพื้นฐานของการสร้าง 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).
