{"enrichment":{"faq":[{"a":"migrate-xml-views-to-jetpack-compose walks you through a 10-step methodology for converting legacy XML layouts into declarative Compose components. Start by selecting migration candidates, set up Jetpack Compose dependencies and theming, then systematically convert XML Views to modern Compose components while maintaining interoperability. The skill guides you through validation, testing, and cleanup to achieve pixel-perfect visual parity while preserving functional integrity.","q":"How do I migrate XML views to Jetpack Compose?"},{"a":"migrate-xml-views-to-jetpack-compose provides a structured 10-step approach: identify candidate screens, establish Compose dependencies, configure theming to match your design system, convert XML layouts to Compose equivalents, replace legacy Views with Compose components, validate visual and functional parity, test interoperability between old and new code, update project conventions, perform cleanup, and document the migration. This incremental workflow lets you modernize your UI without disrupting active development.","q":"What's the step-by-step process for converting Android XML layouts to Compose?"},{"a":"migrate-xml-views-to-jetpack-compose covers dependency setup and theming configuration as core steps in the migration process. The skill shows you how to add required Compose libraries to your project, establish a cohesive Material Design theme that matches your existing XML design system, and ensure visual consistency across both declarative and legacy code. Proper theming upfront prevents rework and maintains design integrity throughout the migration.","q":"How can I set up Jetpack Compose dependencies and theming for XML migration?"},{"a":"Yes. migrate-xml-views-to-jetpack-compose emphasizes validation and interoperability as key steps. The skill teaches you how to run both XML and Compose code side-by-side, test functional equivalence, and use Compose's interop APIs to embed Compose components in XML layouts and vice versa. This approach lets you migrate incrementally without forcing a complete rewrite, preserving your project's stability and team velocity.","q":"Can I replace XML Views with Compose while maintaining interop?"},{"a":"migrate-xml-views-to-jetpack-compose supports incremental modernization by letting you migrate one screen or component at a time rather than all at once. The skill guides you through planning which screens to convert first, executing the migration in phases, validating each phase independently, and maintaining interoperability between old and new code. This staged approach reduces risk, allows parallel development, and lets you learn Compose gradually while keeping your app stable.","q":"What does incremental UI modernization from XML to Compose involve?"},{"a":"migrate-xml-views-to-jetpack-compose includes validation as a dedicated step in the 10-step methodology. The skill teaches you how to compare XML and Compose implementations side-by-side, test user interactions, verify layout dimensions and spacing, check theme application, and ensure all business logic works identically. Thorough validation before cleanup prevents regressions and gives you confidence that your modernized UI behaves exactly like the original.","q":"How do I validate that my Compose migration maintains visual and functional parity?"}],"shadow_tags":["ui-modernization","legacy-code-refactor","declarative-ui","android-framework","incremental-adoption","visual-parity","interop-patterns","compose-setup"],"summary_rewrite":"This skill walks you through systematically converting legacy XML layouts into declarative Jetpack Compose components. Following a 10-step methodology\u2014from candidate selection and dependency setup through theming, migration, validation, and cleanup\u2014you'll achieve pixel-perfect visual parity while preserving functional integrity and project conventions."},"files":[{"bytes":5434,"path":"jetpack-compose/migration/migrate-xml-views-to-jetpack-compose/SKILL.md","sha256":"a8b0bcdadbb9414c2ad12b36f74446305da96dadad98736b6599e9f8eb5b5c69","url":"https://skillfed.io/files/android/skills/migrate-xml-views-to-jetpack-compose/bb72aaef/SKILL.md"}],"id":"android/skills/migrate-xml-views-to-jetpack-compose","links":{"html":"https://skillfed.io/android/skills/migrate-xml-views-to-jetpack-compose","md":"https://skillfed.io/android/skills/migrate-xml-views-to-jetpack-compose.md","repo":"https://github.com/android/skills"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":363,"language":"Python","last_updated":"2026-07-14","license":"Apache-2.0","name":"migrate-xml-views-to-jetpack-compose","publisher":"android","stars":6379},"relations":{"similar":[{"id":"new-silvermoon/awesome-android-agent-skills/xml-to-compose-migration"},{"id":"krutikJain/android-agent-skills/android-compose-xml-interoperability"},{"id":"cometchat/cometchat-skills/cometchat-android-v6"},{"id":"android/skills/styles"},{"id":"krutikJain/android-agent-skills/android-compose-foundations"},{"id":"cometchat/cometchat-skills/cometchat-android-v6-migration"},{"id":"android/skills/navigation-3"},{"id":"GetStream/agent-skills/stream-android"},{"id":"cometchat/cometchat-skills/cometchat-android-v6-compose-theming"},{"id":"aldefy/compose-skill/compose-expert"}]},"slug":{"owner":"android","repo":"skills","skill":"migrate-xml-views-to-jetpack-compose"},"version":"bb72aaef"}
