One Codebase for Every Screen: Notability's Android Adaptive Development Practice

Notability uses Compose and Navigation 3 to adapt a single codebase to all screen sizes, and Jetpack Ink cuts new brush development from months to one week.
The Notability team shared technical practices for bringing their iOS note-taking app to Android, centered on using a single codebase to cover all device forms from low-end small-screen phones to high-end tablets and Google Books while maintaining full feature parity with iOS. On the implementation path, the team built adaptive UI based on Jetpack Compose and Material Components, used Navigation 3 to dynamically switch presentation based on available space—for example, the AI summary panel slides in from the side on tablets and pops up from the bottom on phones. For handwriting rendering, Jetpack Ink eliminated the rewrite work of self-managing Canvas buffer readers and rendering threads, compressing new brush development from months to one week for a single engineer. The rainbow pen and glitter pen even launched first and exclusively on Android. The team's core advice is to build for input methods and windows, not for individual devices.
When the Notability team decided to bring their iOS note-taking app to Android, they faced a key challenge: how to use a single codebase to serve low-end small-screen phones, high-end tablets, and even devices like Google Books, while maintaining feature parity with the iOS version? In a recent sharing, the Notability team detailed their technical choices and engineering practices. The core answer can be summarized as: build adaptive UI based on Jetpack Compose and Material Components, use Navigation 3 to handle layout differences, and leverage Jetpack Ink to greatly reduce the engineering complexity of handwriting rendering.
One Codebase, Full Size Coverage
According to the Notability team, they made their goal clear from the start: not to develop separately for different devices, but to use a single codebase to cover all device forms from low-end small-screen phones to high-end tablets and Google Books, while ensuring complete feature parity with the iOS app.
The foundation for achieving this goal is Material Components. The team stated that the entire Android app is built on Jetpack Compose and the system design library, which allows them to maintain a single feature set and adapt to various screen sizes through simple UI adjustments and adaptive capabilities.

This "build once, adapt to multiple ends" approach goes a step further than traditional responsive layouts—it not only requires the interface to scale, but also requires interaction modes to intelligently switch based on available space.
Jetpack Compose is Google's native declarative UI toolkit for Android. Developers describe interface state in Kotlin code, and the framework automatically recomposes and efficiently updates the UI when state changes. Compared with the traditional View system, Compose does not rely on XML layouts; components are naturally composable and reusable, allowing adaptive layout logic to be expressed more concisely. Material Components (now mostly called Material 3) is a component library based on the Material Design specification, providing standard controls such as buttons, navigation bars, and sheets, along with their adaptive behaviors. Together, these mean the Notability team does not need to maintain multiple layout files for different screen sizes, but can complete interface scaling from phones to tablets within the same codebase through Compose's reactive capabilities and Material components' built-in adaptation rules.
Handling Layout Differences with Navigation 3
When the same feature needs to be presented differently on different screens, the team used Navigation 3. A typical example is the AI summary panel: on tablets or Google Books, if there is enough space on the right, the panel slides in as a sidebar; on phones or smaller devices, due to insufficient space, the same feature pops up as a bottom sheet.

The key to this design approach is that developers do not need to write two sets of interface logic for different devices. Instead, the navigation layer determines available space and dynamically chooses the most appropriate presentation. This ensures feature consistency while respecting the interaction habits of different devices.
Navigation 3 is the next-generation version of the navigation library in Android Jetpack. Its core change is that the navigation stack becomes an explicit state list held by the developer rather than being hidden inside the library. This design makes navigation state more flexible to read and manipulate, and easier to combine with Compose's declarative UI. For scenarios like Notability, where presentation form must be determined by available window space, Navigation 3 allows the navigation layer to participate directly in layout decisions: determine whether there is currently enough space for a sidebar, and then choose a side panel or bottom sheet, without having to write separate navigation logic for each device form.
Bottom sheet is a floating component in Material Design that rises from the bottom of the screen and can partially or fully cover content. It is often used on small-screen devices to display secondary information or quick actions without interrupting the user's current primary task flow.
Jetpack Ink: Compressing Months of Rendering Optimization into One Week
Handwriting stroke rendering is a technical challenge for note-taking apps. The team admitted that in the past, implementing a new brush type—such as a rainbow pen or glitter pen—often required months of shared optimization code work to make the rendering effect pixel-perfect.
Jetpack Ink changed that. The team said that with Jetpack Ink, they did not have to manage shared Canvas buffer readers and rendering threads themselves, avoiding a large-scale rewrite while maintaining feature parity between Android and iOS across devices. The most direct result: the rainbow pen and glitter pen were released first on Android and are currently Android-exclusive.

More noteworthy is the leap in development efficiency: now, a single engineer can release a new brush in as little as one week. From "months" to "one week" is not just a change in numbers; it means small teams can also rapidly iterate on the handwriting experience.

Jetpack Ink is a Jetpack library for Android handwriting and drawing scenarios. It encapsulates the infrastructure needed for low-latency stroke rendering, including input event collection, rendering thread scheduling, Canvas buffer management, and predictive stroke capabilities. When implementing this themselves, developers usually need to maintain a separate rendering thread, manage shared Canvas buffer readers, and handle input latency and dropped frames—work that is both tedious and error-prone. Jetpack Ink abstracts these common parts into library APIs, so developers only need to focus on the brush's visual presentation and business logic. For cross-platform apps that need to maintain rendering consistency with iOS, this kind of low-level library can also reduce the cost of duplicate optimization across platforms, allowing the team to focus on the brush effects themselves.
Build for Input Methods and Windows, Not for Devices
The team's core advice is: build for input methods and windows, not for individual devices. Jetpack 3 and Compose enable screens to adapt quickly, while APIs such as Gemini and Jetpack Ink allow developers to focus on the truly unique parts of the app.
For devices like Google Books that have a keyboard and trackpad, the team emphasized the need to support trackpad zoom, context menus, keyboard shortcuts, and distinguishing stylus from user pointer—these details give the app a truly desktop-class experience without maintaining a separate codebase.
The significance of this practice is that it demonstrates a replicable path: using the modern Android toolchain to achieve a consistent experience across device forms while controlling engineering costs. For teams currently wondering "should we develop separately for tablets?", Notability's answer is worth considering.
Window size class is a breakpoint specification introduced by Material 3 that divides available window width into compact, medium, expanded, and other ranges. Developers use it to decide layout form rather than judging by device type or specific model. This "window-oriented rather than device-oriented" approach naturally covers dynamic scenarios such as split screen, unfolded foldables, and tablet orientation changes.
Pointer type distinction means the app needs to identify whether input events come from a stylus, finger, or mouse/trackpad, and adjust interaction behavior accordingly—for example, stylus triggers drawing, finger is used for scrolling, and right-click brings up a context menu. Android's input event system provides tool type information. Combined with trackpad gesture and keyboard shortcut support, apps can deliver a truly desktop-class experience on devices like Google Books with keyboards and trackpads, without maintaining a separate desktop codebase.
One-line Summary
Notability uses Compose and Navigation 3 to adapt a single codebase to all screen sizes, and Jetpack Ink cuts new brush development from months to one week.
Paragraph Summary
The Notability team shared technical practices for bringing their iOS note-taking app to Android. The core is using a single codebase to cover all device forms from low-end small-screen phones to high-end tablets and Google Books, while maintaining full feature parity with iOS. On the implementation path, the team built adaptive UI based on Jetpack Compose and Material Components, used Navigation 3 to dynamically switch presentation based on available space—for example, the AI summary panel slides in from the side on tablets and pops up from the bottom on phones. For handwriting rendering, Jetpack Ink eliminated the rewrite work of self-managing Canvas buffer readers and rendering threads, compressing new brush development from months to one week for a single engineer. The rainbow pen and glitter pen even launched first and exclusively on Android. The team's core advice is to build for input methods and windows, not for individual devices.
Related articles

Google Account Ban Controversy Settles: Antigravity and T3Code Reach an Understanding
The full story of the Google Antigravity account ban controversy: from panic sparked by a viral tweet to the CEO's personal clarification and terms update defining third-party tool boundaries.

The Anthropic Encryption Incident: The Truth Behind AI Breaking Internet Cryptography
An Anthropic engineer's CIRG tweet sparked encryption panic, intertwining rumors of the CIRG group and AI cracking P=NP. This article sorts through the timeline, multiple viewpoints, and technical background to analyze whether internet encryption truly faces its end.

Local Knowledge: The Indispensable Navigational Wisdom in Scientific Expeditions
From Māori wisdom of navigating by tides and birds, explore how local knowledge is vital to scientific expeditions and how AI can integrate it for robust systems.