0Pricing
Android Academy · Lesson

Layouts & Views

Design UIs with XML layouts. Use ConstraintLayout, LinearLayout, and common views like TextView, Button, ImageView, and EditText.

Building UIs with XML

Android UIs are defined in XML layout files stored in res/layout/. The layout describes the structure and appearance of your screen — which views are shown and where.

Your Kotlin code then inflates this layout and interacts with the views at runtime.

Common View Types

The most frequently used View widgets:

  • TextView — displays text
  • EditText — text input field
  • Button — clickable button
  • ImageView — displays an image
  • CheckBox — toggle on/off
  • Switch — on/off toggle (Material)

All lessons in this course

  1. Project Structure & Manifest
  2. Activities & Lifecycle
  3. Layouts & Views
  4. Handling User Input
  5. Intents & Navigation
  6. Fragments
  7. Permissions & Runtime Requests
← Back to Android Academy