Improved color change listeners, including better support for Android 12, not using ACTION_WALLPAPER_CHANGED where possible, and fixing the colors not changing after the system colors changed on 12
Whether to use system colors now takes into account DynamicColors.isDynamicColorAvailable() from Material Components for devices that run 12, but don't have Monet - MonetCompat will automatically fall back to the generated colors in that scenario.
MonetToolbar is now a MaterialToolbar to allow better integration with M3
Fixed MonetToolbar not using the right colors when fitsSystemWindows is enabled (thanks @shaz01!)
Added md3style option to BottomNavigationView.applyMonet (enabled by default) to theme the new highlight
Added the ability to set the tooltip color for Slider (enabled by default)
(0.4.1 to force Jitpack to rebuild)
0.3
2 years ago
Added Jetpack Compose support, thanks @rozPierog!
For usage, see the readme.
0.2.1
2 years ago
New:
Updated Monet base code from kdrag0n's android12-extensions
Implement support for SystemColorScheme (loads system colors on Android 12). This is enabled by default, for consistency on users' devices. You can disable it with the field option in MonetCompat.
Implement support for ColorSchemeFactory, which allows advanced control over color generation. See the sample for usage.
Fixes:
Fixed a crash when using MonetToolbar without material-dialogs due to an incorrect import
Breaking changes:
onMonetColorsChanged now takes a ColorScheme rather than DynamicColorScheme. ColorScheme is the interface, and this should really have been the case since day 1.