Skip to content

Releases: maltaisn/icondialoglib

v3.3.0

26 May 01:31
v3.3.0
df0c449
Compare
Choose a tag to compare
  • Icon image view now recognizes the android:state_checked state attribute, allowing the user
    to specify state-dependant attributes with icdIconStyle. As such, icon tint is now specified with
    tint internally, but icdIconColor and icdSelectedIconColor 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

01 May 21:21
v3.2.2
db14241
Compare
Choose a tag to compare
  • Fixed crash when using raw color value for icdIconColor and icdSelectedIconColor.
  • Fixed search EditText state sometimes lost when dialog is recreated.

v3.2.1

30 Apr 22:49
062bc03
Compare
Choose a tag to compare
  • Updated Kotlin version to 1.3.72.

v3.2.0

08 Mar 14:15
2106c76
Compare
Choose a tag to compare
  • Added src attribute to the <icon> tag to allow specifying an external drawable resource ID instead of path data. (#29)
  • Fixed NPE in icon dialog when icon pack contained icons without a category.

v3.1.1

12 Feb 13:58
0b38daa
Compare
Choose a tag to compare
  • Fixed icon drawable sharing mutable state with all drawables of the same icon. This caused problems where tinting one drawable would tint all of them.
  • Updated material components version to stable 1.0.0.

v3.1.0

06 Jan 14:03
4703f5d
Compare
Choose a tag to compare
  • Added progress bar in dialog for when icon pack is not loaded yet.
  • Fixed IconDialogSettings.dialogTitle having no effect.

v3.0.0

05 Jan 17:07
c3e176c
Compare
Choose a tag to compare
  • 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:
    • Icon packs loading is delegated to the user of the library. IconHelper was replaced
      with IconPackLoader 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
    • XML root element for tags is now <icons> instead of <list>.
    • Icon viewport dimensions can be defined per icon pack or on individual icons.
  • 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.

v2.5.0

14 Dec 20:40
Compare
Choose a tag to compare
  • Added support for API 16.

v2.4.0

20 Mar 22:45
Compare
Choose a tag to compare
  • Added a parameter with the dialog instance to the callback method.
  • Spanish translation, thanks to hieudev.

v2.3.2

10 Mar 18:59
Compare
Choose a tag to compare
  • Added a parameter with the instance of the IconHelper in LoadCallback.onDataLoaded.