0Pricing
Jetpack Compose Academy · Aula

Esboçando o Layout do Cartão de Perfil

Planeje a estrutura antes de programar.

Esboçando o Layout do Cartão de Perfil é uma aula grátis de Jetpack Compose Academy no CoddyKit. Esta é a aula 1 de 4. Você pode ler a aula completa abaixo gratuitamente — depois pratica ao vivo no navegador com um editor de código integrado e um tutor de IA 24/7. Faz parte do caminho de aprendizado de Jetpack Compose Academy, e seu progresso é sincronizado entre a web e o app CoddyKit. O curso de Jetpack Compose Academy inclui 4 aulas no total.

Partes desta aula ainda não foram traduzidas e aparecem em inglês.

Why Sketch First

Before you write a single line, picture the screen. A quick sketch turns a vague idea into a clear plan you can build with confidence. 📝

What a Profile Card Holds

Your profile card shows a few key things: an avatar, a name, a short bio, some stats, and a follow button. That list is your content inventory.

Think in Boxes

Compose lays things out as nested boxes. Each piece of content lives in its own region, and regions nest inside larger ones. Start by drawing those boxes.

Top to Bottom Flow

Most cards read vertically: avatar on top, name below, bio under that. A Column stacks children top to bottom, so it will be your outer container.

Sketch the Outer Column

The whole card sits inside one Column. Everything you add becomes a child of it, in the order you write them.

Column {
    // avatar
    // name
    // bio
    // stats row
    // follow button
}

Side-by-Side Stats

The stats line shows counts next to each other, not stacked. Anything that sits horizontally belongs in a Row nested inside your Column.

Plan the Stats Row

Sketch a Row holding three little blocks: posts, followers, and following. Each block is its own tiny piece of the card.

Row {
    // posts
    // followers
    // following
}

Where the Button Lives

The follow button is the last item, full width at the bottom. In your sketch it sits as the final child of the outer Column.

Name the Sections

Give each region a name: header, bio, stats, action. Naming sections now makes turning the sketch into Composables almost automatic later. ✨

Spacing and Breathing Room

A good sketch marks the gaps too. Note where you want padding around the card and space between sections so it never feels cramped.

From Sketch to Tree

Your sketch maps directly to a Composable tree: outer Column, then header, bio, stats Row, and button as children in order.

Quick Check

Which container best fits items that should sit side by side?

Recap: You Have a Plan

You sketched the card as nested boxes: an outer Column with a header, bio, a stats Row, and a follow button. Next you will turn that plan into real Composables.

Perguntas Frequentes

A aula “Esboçando o Layout do Cartão de Perfil” é grátis?

Sim — o texto completo de “Esboçando o Layout do Cartão de Perfil” é grátis para ler aqui na web. Para praticá-la interativamente (um editor de código integrado e um tutor de IA 24/7) e desbloquear o restante do curso de Jetpack Compose Academy, atualize para CoddyKit PRO. O curso de Jetpack Compose Academy inclui 4 aulas no total.

O que vou aprender em “Esboçando o Layout do Cartão de Perfil”?

Planeje a estrutura antes de programar. Você pratica Jetpack Compose Academy com código prático que executa diretamente no navegador, e um tutor de IA 24/7 responde suas dúvidas enquanto trabalha na aula.

Preciso ter experiência prévia para começar Jetpack Compose Academy?

Nenhuma experiência prévia é necessária. Jetpack Compose Academy no CoddyKit é estruturado para alunos iniciantes até avançados, então você pode começar aqui ou desde o início e aprender no seu ritmo. Esta é a aula 1 de 4.

Quanto tempo leva a aula “Esboçando o Layout do Cartão de Perfil”?

A maioria das aulas CoddyKit leva cerca de 5–10 minutos. Cada uma é compacta e interativa, então você faz progresso constante e retoma exatamente de onde parou entre web e app.

Posso escrever e executar código nesta aula de Jetpack Compose Academy?

Sim. Cada aula de Jetpack Compose Academy inclui um editor de código integrado, então você escreve e executa código real direto no navegador e recebe feedback de IA instantaneamente — nenhuma configuração local necessária.

Todas as aulas deste curso

  1. Esboçando o Layout do Cartão de Perfil
  2. Seção de Avatar, Nome e Biografia
  3. Linha de Estatísticas e Botão Seguir
  4. Extraindo Composables Reutilizáveis
← Voltar para Jetpack Compose Academy