Guides
Compose and XML
Running SKOne across both UI toolkits in one codebase.
SKOne components exist in two implementations that read the same tokens. A screen migrated from XML to Compose keeps its exact appearance, which makes incremental migration safe.
Interop
Use SKComposeView inside a View hierarchy, or AndroidView with SKOne View components inside Compose. Both paths inherit the active theme automatically.
fragment_invoice.xml
<com.thesubodhgupta.skone.interop.SKComposeView
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:skComposable="com.example.InvoiceSummary" />