0PricingLogin
Jetpack Compose Academy · Lesson

Padding, Size & fillMaxWidth

Control space inside and around a Composable.

Meet the Modifier

A Modifier is how you adjust a Composable: its size, spacing, and decoration. You chain calls onto it, one tweak at a time. 🧩

Pass It In

Almost every Composable takes a modifier parameter. You pass it as the first thing to change about that element.

Text(
  text = "Hi",
  modifier = Modifier
)

All lessons in this course

  1. Padding, Size & fillMaxWidth
  2. Background, Border & Clip
  3. Why Modifier Order Matters
  4. weight & Flexible Sizing
← Back to Jetpack Compose Academy