Lightlines
By android

migrate-xml-views-to-jetpack-compose

android2.1k installs

Move your XML layout to Compose without changing its look.

What it does

Converts a legacy Android XML layout into Jetpack Compose UI while preserving its appearance and functionality.

When to use it

Use when migrating an XML View to Jetpack Compose in an Android project.

How to use it

Give it an Android project; it plans the migration, requests approval when interaction is supported, and replaces an XML layout with Compose.

What you provide

  • An existing project

Good to know

  • cannot be undone: migrated XML file and legacy tests

Latest review

What you need · 1

Requires Gradle to verify that the project syncs and builds; migration must wait until build or sync failures are resolved.


Access · 1

This skill

migrated XML file and legacy tests

Write

Deletes migrated XML and legacy tests (irreversible)