0Pricing
Android Academy · Lesson

Building a Profile Card

Combine composables into a screen.

Our Goal

Time to combine what you've learned. We'll build a simple profile card: a name and a job title stacked neatly in a styled box.

Along the way you'll meet the Modifier, which controls size, spacing, and appearance of composables.

Meet the Modifier

A Modifier changes how a composable looks and behaves. You pass it through the modifier parameter that most composables accept.

Modifiers handle padding, size, background color, borders, and more. They are the main way you decorate your UI in Compose.

Text(
    "Ada Lovelace",
    modifier = Modifier.padding(16.dp)
)

All lessons in this course

  1. What a Composable Is
  2. Text and Column Basics
  3. Previewing Your UI
  4. Building a Profile Card
← Back to Android Academy