# RJ Signal UI - iOS and Android native adapters Version 1.0.0 | Reviewed 11 November 2026 | Canonical: https://rajajeevan.com/brand/#ui-kit ## Contents - [Native-first rule](#native-first-rule) - [iOS and iPadOS](#ios-and-ipados) - [Android](#android) - [Mapping example: edit a task](#mapping-example-edit-a-task) ## Native-first rule Shared intent, not copied pixels. System controls and accessibility settings can override the brand's web typography, radius, animation and colours. Keep content, terminology, hierarchy and domain state shared. Never style Android to imitate an iPhone or apply an iOS bottom sheet to every Android action merely for consistency. ## iOS and iPadOS Use SwiftUI for new screens where it fits; bridge to UIKit for requirements SwiftUI does not meet. Use system text styles with Dynamic Type, safe-area layout, VoiceOver labels and values, and standard controls. NavigationStack for a push flow; a split navigation presentation when the target OS and available width support it. Test both compact and expanded size classes, rotation and keyboard. - House touch target 44 x 44 pt, based on Apple's default recommendation. Apple's current table distinguishes default from smaller minima; this kit deliberately keeps the more comfortable default, not a universal 44 pt law. - Persistent destinations use platform navigation components. Back should return to the prior context and preserve edits. Sheets contain a bounded task with labelled cancel/done and a non-gesture close path. - Use system tint/semantic foreground/background, adapting RJ accent where it remains legible. High contrast, reduce transparency/motion, larger text and system appearance win. - Use secure entry, password autofill, native pickers and share sheet. Do not disable paste. Ask permission only at the relevant feature entry point. - VoiceOver order follows the task; group related labels/values, avoid duplicate announcements, announce changed results briefly. A visually drawn control needs a real accessible action and state. - On iPad, support keyboard and pointer, multiwindow/split view where the product calls for it; don't merely scale an iPhone canvas. ## Android Use Kotlin + Jetpack Compose with Material 3 for native new work; Views remain valid for existing apps and integrations. Use theme roles and scalable sp text. Material/Compose defaults provide useful semantics, not a complete app accessibility guarantee. - At least 48 x 48 dp touch targets for interactive elements; reserve layout room so expanded hit regions do not overlap. Visual icon size and hit target size differ. - System/predictive Back follows the navigation hierarchy; don't consume it globally. Modal dismiss precedes screen exit. Honour system bars, edge-to-edge insets, gesture areas and the on-screen keyboard. - Navigation adapts to width: compact primary destinations, rail or persistent list/detail for larger windows where suitable. Do not use screen diagonal or 'tablet' detection alone. - Labels and hints are localised; TalkBack gets meaningful role/value/state. Content descriptions explain non-text icons; redundant text descriptions are omitted. Announce result/status after a task, not on each composition. - Preserve state through recreation and product-defined process restoration without storing secrets in plain saved state. Loading, offline, permission denied and service failure are independent. - Test font scale, display scale, hardware keyboard, switch access, orientation and low-memory restoration. Use platform test tools and real assistive technology. ## Mapping example: edit a task Shared contract: title required; status enum; save async; preserve entered values on rejected save; unknown save result reconciles before retry. iOS uses Form/TextField/Picker/Button and native presentation; Android uses TextField/selection control/Button in its Compose theme. Neither implements the other platform's keyboard, gesture or focus model. Adapter sketches live in examples/TaskForm.swift and examples/TaskForm.kt. They show local form validation and output callbacks only, not network persistence, navigation, permissions or full apps. They have not been compiled against an Xcode/Android SDK in this kit. Check the project's deployment target, imports and current APIs before integration; run native tests before calling them production-ready.