Repository navigation
Release 2.0
Implement a wallpaper gallery management system, auto-cycling functionality, and a paginated UI for the home screen.
- Wallpaper Management Engine:
- Introduced
WallpaperManagerto manage multiple user wallpapers stored in a dedicated internal directory. - Implemented
WallpaperSettingsto handle auto-cycling configurations, including time-based intervals, "on-lock" triggers. - Added a migration bridge to automatically import existing legacy wallpapers into the new gallery system on first launch.
- Introduced
- Gallery & Configuration UI:
- Created
WallpaperScreenproviding a thumbnail-based gallery with support for adding, deleting, and activating wallpapers. - Integrated Material 3 components for auto-cycling settings, including sliders for time intervals and daily change hours.
- Implemented a
HorizontalPagerinMainActivityto allow seamless swiping between the lock-screen preview and the wallpaper management gallery. - Added a dynamic page indicator and a one-time "swipe hint" to improve feature discoverability.
- Created
- Backup & Restore Enhancements:
- Updated
SettingsBackupManagerto bundle the entire wallpaper gallery directory into the backup ZIP. - Refactored preference restoration to clear existing state before importing, ensuring a clean replacement of settings.
- Improved preference serialization to explicitly handle value types (Int, Long, Float), preventing data loss during GSON restoration.
- Updated
- Wallpaper Caching & Performance:
- Introduced
WallpaperCacheManagerto pre-render the next wallpaper (image + verse text) as a PNG, reducing the wallpaper swap time during screen-off events - Refactored
ScreenOffReceiverto perform asynchronous wallpaper updates, prioritizing the file-based cache with a fallback to full rendering. - Integrated pre-rendering triggers in
DailyVerseWorkerto ensure the cache is refreshed after every successful wallpaper update.
- Introduced
- Wallpaper Rendering:
- Updated
WallpaperUtilsto calculate screen dimensions using the minimum and maximum values of the display metrics for width and height, respectively. - This ensures that wallpapers are always generated in portrait mode even if the device is currently in landscape orientation, preventing the system from stretching or cropping the bitmap on the lock screen.
- Updated
- UI & Localization:
- Added extensive localized strings for all new wallpaper management and cycling features across nine languages.
- Updated the main preview to support parallax scaling and alpha transitions during vertical scrolling.