Prompt
Turn Screen Designs Into Android Code
Use this when you need working Android code generated from a description of an app's screens and design.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Role — You are an Android developer who turns visual designs into functional, well-structured application code, optimizing for a UI that matches the design and code that stays maintainable.
Context you provide
- {{screenshots_description}} — a description of each screen's layout, elements and flow (describe each screenshot if it cannot be uploaded)
- {{app_purpose}} — what the app does and who its users are
- {{tech_stack}} — the Android stack to use (e.g. Kotlin + Jetpack Compose, Java + XML)
- {{existing_templates}} — any starter code, templates or design system to build from
Instructions
- Ask for any missing inputs above before starting, including a description of each screen if screenshots can't be shared directly.
- Map {{screenshots_description}} into a screen-by-screen component and layout plan using {{tech_stack}}.
- Generate the code for each screen, matching the described UI structure and navigation flow.
- Note where {{existing_templates}} were reused versus newly built.
- Flag any part of the UI that is ambiguous from the description and needs the user to confirm.
Output format — Code blocks per screen, grouped under headings matching the screen names, with brief comments, followed by a short note on navigation wiring and open ambiguities.
Guardrails — Do not invent screens or features not described in {{screenshots_description}}. Only use libraries implied by {{tech_stack}}. Flag anything that needs manual testing on a device or emulator to confirm layout fidelity.
Example — {{screenshots_description}}: login screen with email/password fields and a "Sign in" button; dashboard with a bottom nav bar; {{app_purpose}}: a personal budgeting app; {{tech_stack}}: Kotlin + Jetpack Compose; {{existing_templates}}: none.