Releases: maltaisn/icondialoglib
Releases · maltaisn/icondialoglib
v3.3.0
- Icon image view now recognizes the
android:state_checked
state attribute, allowing the user
to specify state-dependant attributes withicdIconStyle
. As such, icon tint is now specified with
tint
internally, buticdIconColor
andicdSelectedIconColor
were kept for backward compatibility. icdIconColor
now only works on API 23 if the referenced value is a ColorStateList (i.e.<selector>
).
This is due to a probable bug with nested color state lists (they weren't nested before so they was no issue),
see this issue.- Added
icdIconForegroundStyle
used to show the ripple on top of the icon image view.
It was previously shown using the ImageView's background, so now icons can have a custom background as well as the ripple. String.normalize()
extension function now has internal visibility.
v3.2.2
v3.2.1
v3.2.0
v3.1.1
v3.1.0
v3.0.0
- Complete rewrite in Kotlin with MVP architecture.
- Now based on Google's Material Components with out of the box support for dark theme.
- Added support for API 14.
- Icon packs
- Icons are no longer part of the library, they are contained in icon packs, which can
be downloaded as separate artifacts. Available icon packs:- Default: contains the icons from previous version.
- Font Awesome: https://fontawesome.com/icons, solid variant only.
- Material Design Icons: https://github.com/Templarian/MaterialDesign, minus brand and outline icons.
- Icon packs loading is delegated to the user of the library.
IconHelper
was replaced
withIconPackLoader
which loads icon packs from XML. User must load icon packs
appropriatedly (for example on application start, asynchronously) and store them. - Overriding icons is now done by specifying a parent icon pack and defining
icons or categories with existing IDs.
- Icons are no longer part of the library, they are contained in icon packs, which can
- Icons
- XML root element for tags is now
<icons>
instead of<list>
. - Icon viewport dimensions can be defined per icon pack or on individual icons.
- XML root element for tags is now
- Tags ("labels" previously)
- Tags no longer have a value or aliases, they only have a list of values.
- Tag references in XML are no longer supported.
- XML root element for tags is now
<tags>
instead of<list>
.
- Dialog no longer uses deprecated
setRetainInstance(true)
. - Added
IconDialogSettings
class to configure the dialog appearance and behavior. - Removed a few attributes for customization, like dialog button texts.
- Various icon filter changes. Sorting by category is now delegated to icon dialog.
- Replaced all IntDefs with enums.