0PricingLogin
Jetpack Compose Academy · Lesson

The Text Composable

Show a string and control its basics.

Meet Text

In Compose, you put words on screen with the Text composable. It is the simplest building block you will use in almost every screen.

Pass a String

Give Text a string and it renders instantly. No XML, no findViewById, just a function call describing what you want shown.

Text("Hello, Compose!")

All lessons in this course

  1. The Text Composable
  2. Font Size, Weight & Style
  3. Color, Alignment & Overflow
  4. AnnotatedString: Rich Mixed Text
← Back to Jetpack Compose Academy