The Vortex Demo app showcases Vortex-Android, an open-source library for building user-customizable Android apps with Jetpack Compose. It's powered by Layers, a C++ theme framework that separates UI styling from application logic using declarative JSON files.
Use this app to:
• Preview the Vortex UI - Explore the tab-based interface, settings menu, and built-in widgets that Vortex-Android provides out of the box.
• Switch themes instantly - Toggle between the bundled Dark and Light themes to see how the UI updates in real time.
• Test your own themes - Load custom Layers themes from your device storage.
• Explore the style system - See how Vortex surfaces resolve styles from JSON definitions, with support for inheritance, theme linking, and state-based variants.
What is Vortex?
Vortex is a UI library that integrates the Layers theme framework with platform-native UI frameworks — Qt on desktop and Jetpack Compose on Android. It provides a consistent, theme-driven UI experience across platforms.
What is Layers?
Layers is a C++ theme framework that gives developers and users control over application appearance through JSON-based themes and styles. Styles define UI element properties like colors, borders, corner radii, and margins, and link to theme attributes, so switching a theme re-skins the entire app without any code changes.
Key features of the Vortex-Android library:
• JSON-based styles - Define UI appearance separate from app logic
• Runtime theme switching - Change the look of your entire app instantly
• Style inheritance - Build complex styles from simple base definitions
• Theme linking - Styles reference theme variables for automatic updates
• State-based styling - Support for Active, Selected, and other visual states
• External theme loading - Users can load themes from device storage
• Built-in settings UI - Ready-made theme picker and style management screens
The Vortex-Android library is licensed under the MIT License.
This demo is licensed under the GPL 3.0 License.
Learn more:
• Vortex-Android: https://codeberg.org/HuntrSoftware/vortex-android
• Vortex-Desktop: https://codeberg.org/HuntrSoftware/vortex-desktop
• Layers: https://codeberg.org/HuntrSoftware/Layers
• Website: https://huntrsoftware.com