I describe Exact’s cross-platform authoring, layout, and rendering choices, including how I balance its own drawing with native Android views.
I describe Android as “more like Flutter” for Exact’s rendering approach.
Exact draws more elements like boxes and text on Android.
I said Android is more fragmented, with fewer behaviors that would be hard to chase.
I said the cost tradeoff of drawing pixels more favorable on Android.
I said, “Still use native Android/Compose Views where users would notice, ex. EditText.”
I said Exact uses the web and CSS as an authoring standard.
I said the agent knows how to write the web and CSS authoring standard.
I described CSS as a well defined standard for expressing the same thing on different platforms.
I said Exact’s layout engine is a Rust open source project called Taffy with some patches.
I said, “At Google I/O in May, Google announced that Android is now Compose-first.”
I said the traditional Android View system is now in maintenance mode.
I said traditional Android Views don’t feel like the right train because they require inflation and maintenance.
I’m wary of using Compose for everything because its own layout system would clash with the Exact CSS-based layout system.
I also see a cost to using Compose for everything: it is a large library you have to pull in.
My current tradeoff is to draw simple things like lines and boxes ourselves.
I use Compose and Material 3 where users expect a complex, OS-integrated element, such as a date picker or a text input with a11y features.
Related: exact framework preview, exact platform progress, exact uses and demos