0PricingLogin
Jetpack Compose Academy · Lesson

What Compose Replaces: Goodbye XML

Why declarative UI beats imperative View inflation.

Meet Jetpack Compose

Jetpack Compose is Android's modern toolkit for building UI in pure Kotlin. No more XML layout files. You describe screens with simple functions. 🎉

The Old Way: XML Layouts

For years, Android UI lived in XML files. You wrote markup describing views, then inflated and wired them up in Kotlin code separately.

<LinearLayout android:orientation="vertical">
    <TextView android:text="Hello" />
</LinearLayout>

All lessons in this course

  1. What Compose Replaces: Goodbye XML
  2. Set Up Android Studio for Compose
  3. Anatomy of an @Composable Function
  4. Run Your First App on the Emulator
← Back to Jetpack Compose Academy