Skip to content

feat: rebuild ConfigPrimaria with Material 3#8

Open
git-jr wants to merge 1 commit intomasterfrom
Update-2026
Open

feat: rebuild ConfigPrimaria with Material 3#8
git-jr wants to merge 1 commit intomasterfrom
Update-2026

Conversation

@git-jr
Copy link
Copy Markdown
Owner

@git-jr git-jr commented Mar 29, 2026

Summary

  • Reconstrução completa do layout activity_config_primaria.xml com Material 3
  • AppCompatToggleButton substituído por MaterialSwitch (layout + activity)
  • Campos TextInputLayout migrados para Widget.Material3.TextInputLayout.OutlinedBox com cores conteudo_card
  • MaterialButton com Widget.Material3.Button
  • Adicionado tema Theme.Amadeus.ConfigPrimaria (Theme.Material3.Light.NoActionBar) no manifesto, isolando a activity sem afetar o resto do app
  • Nova string configure_seu_perfil

Test plan

  • App abre sem crash na ConfigPrimariaActivity
  • Campos de nome exibem hint e borda na cor correta (conteudo_card)
  • Switches de "Voz da IA" e "Permitir uso de dados" funcionam e persistem o estado
  • Botão "Link Start" valida os campos e avança normalmente
  • Build release sem erros

🤖 Generated with Claude Code

- Replace ConstraintLayout with CoordinatorLayout + NestedScrollView
- Migrate TextInputLayout and MaterialButton to Widget.Material3 styles
- Replace AppCompatToggleButton with MaterialSwitch; update activity cast accordingly
- Add Theme.Amadeus.ConfigPrimaria (Theme.Material3.Light.NoActionBar) scoped to this activity
- Apply conteudo_card color to TextInputLayout stroke and hint
- Add configure_seu_perfil string resource

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant