This app is the demo and test companion for HyperIsland Kit, an open-source Kotlin library that helps Android developers easily create notifications for Xiaomi's HyperIsland on HyperOS.
This app allows you to test and visualize all the notification templates supported by the HyperIsland Kit library.
1. Check Compatibility:
The first screen checks your device and tells you if it's supported, in case your device doesn't support Hyper Island it will send Android notifications.
2. Trigger Demo Notifications:
Visit the "Demos" tab to trigger HyperOS notifications for various scenarios, including:
App Open: A basic notification that demonstrates the "drag-to-open" and standard "tap-to-open" gestures.
Chat Notification: Shows a chatInfo style expanded panel with an attached button (working on fixing the intent action).
Countdown Timer: A 15-minute countdown timer visible in both the expanded panel and the Island.
Linear Progress Bar: An expanded panel showing a linear progress bar, perfect for file uploads or installations.
Circular Progress: Demonstrates the circular progress bar on both the small summary island and the big island. Developers can use the linear progress bar on base and chat notifications alongside the Circular Progress for the Hyper Island.
Count-Up Timer: A timer that counts up from 00:00, ideal for recordings or stopwatches.
Simple Island: A minimal notification that uses baseInfo for its expanded view and a simple icon for its summary view.