Every component, layout and style has to be rebuilt in code.
“If you are trying to create a new activity with all its components, this can take hours.”
— Front-end Android developer, Google
Computer vision — or the mock-up’s own metadata — boxes each atomic element of the design.
Canny edges, merged and traced into bounding boxes.
Exported mock-up metadata parsed for exact boxes.
A CNN labels each crop with its Android type — trained on GUIs mined automatically from Google Play.
A KNN finds look-alike screens from real apps and borrows their containers. Then ReDraw writes the code.
“A developer could generate the initial view, clean up the layouts, and have a working app.”
— Front-end Android developer, Google, on ReDraw