Android-Iconics

Android-Iconics - Use any icon font, or vector (.svg) as drawable in your application.

APACHE-2.0 License

Stars
5.2K

Bot releases are hidden (Show)

Android-Iconics - v5.1.0

Published by mikepenz about 4 years ago

Note

This release upgrades the font detection logic to jetpack appstartup. Please use the latest font dependencies with v5.1.0

Changes

  • Remove resource and reflection based font and processor detection logic
  • Introduce jetpack appstartup to initialize fonts and processor
    • FIX #503
  • Simplify init and setup requirements for Iconics
    • appstartup will initialize the project

Fixes

  • (Sample) Fix MaterialDX font not showing up in sample

Dependency updates

Library

  • compileSdk 30
  • buildTools 30.0.2
  • target 30
  • kotlin 1.4.10

Sample

  • aboutLibs 8.4.2
  • materialDrawer 8.1.6
  • fastAdapter 5.2.4
  • constraintLayout 2.0.2
  • material 1.2.1
  • appcompat 1.2.0
  • core-ktx 1.3.2
Android-Iconics - v5.0.3

Published by mikepenz over 4 years ago

Changes

  • Split typeface-api to new module
    • Thanks @zTrap
  • StyleContainer: use named parameters instead of multiple constructors
    • Thanks @connyduck

Fixes

  • /
Android-Iconics - v5.0.2

Published by mikepenz over 4 years ago

Fixes

  • introduce a custom method to allow providing the R fields if the reflection approach is not possible
    • FIX #498
Android-Iconics - v5.0.1

Published by mikepenz over 4 years ago

Fixes

Fonts

Android-Iconics - v5.0.0

Published by mikepenz over 4 years ago

Fixes

  • none (release equal to v5.0.0-b01)

Build

  • update to latest detekt 1.7.0
  • add gradle validation check to ensure wrapper is valid
Android-Iconics - v5.0.0-b01

Published by mikepenz over 4 years ago

Warning

  • This is a big refactor of the Android-Iconics library with a large focus on simplifying the core Iconics class and moving as many of the convenient methods into extensions / out of the main class

Fixes

  • update dependencies
  • kotlin 1.3.70
  • material 1.1.0
  • drawerLayout 1.1.0-alpha04
  • aboutLibraries 8.0.0-rc02
  • materialDrawer 8.0.0-rc01
  • FastAdapter v5.0.0
  • adjust items to match new libraries
Android-Iconics - v5.0.0-a04

Published by mikepenz over 4 years ago

Warning

  • This is a big refactor of the Android-Iconics library with a large focus on simplifying the core Iconics class and moving as many of the convenient methods into extensions / out of the main class

Fixes

Android-Iconics - v5.0.0-a03

Published by mikepenz over 4 years ago

Warning

  • This is a big refactor of the Android-Iconics library with a large focus on simplifying the core Iconics class and moving as many of the convenient methods into extensions / out of the main class

Fixes

  • Fix a Kotlin NPE due to a wrong Framework non null annotation
Android-Iconics - v5.0.0-a02

Published by mikepenz over 4 years ago

Warning

  • This is a big refactor of the Android-Iconics library with a large focus on simplifying the core Iconics class and moving as many of the convenient methods into extensions / out of the main class

Changes

  • implement new improved copy method which allows to easily modify the item
  • simplify code

Sample

  • daynight theme for android iconics sample
  • udpate to latest aboutlibraries
  • add hamburger icon for v8 drawer
  • fix drawer icon colors
  • update dependencies
  • remove materialize references
  • include colors used
Android-Iconics - v5.0.0-a01

Published by mikepenz almost 5 years ago

Warning

  • This is a big refactor of the Android-Iconics library with a large focus on simplifying the core Iconics class and moving as many of the convenient methods into extensions / out of the main class

Breaking Changes

  • replaced builder pattern with kotlin properties
  • most convenient properties are now kotlin extension properties
  • move all producers to producer extensions
  • add all convenient setters to the IconicsDrawableExtensions.kt
  • introduce new optimized apply functions which will not invalidate while updating properties
  • refactor all code to use new properties
  • initialization of the iconics fonts is now suggested
  • allow to define IconicsDrawable icons via XML starting with API 24+

Sample app

  • update to MaterialDrawer v8
  • update to FastAdapter v5
  • update to AboutLibraries v8
Android-Iconics - v4.0.2

Published by mikepenz almost 5 years ago

  • Add support of auto mirroring on RTL languages
    • Thank you very much @hichamboushaba
Android-Iconics - v4.0.1

Published by mikepenz almost 5 years ago

  • deprecate IconicsLayoutInflater2, IconicsLayoutInflater and IconicsContextWrapper
  • changes from v4.0.1-b01 and v4.0.1-b02
Android-Iconics - v4.0.1-b02

Published by mikepenz about 5 years ago

  • specify the -module-name for kotlin to fix un-expected META-INF conflicts
  • update to kotlin 1.3.50
  • update gradle build tools
Android-Iconics - v4.0.1-b01

Published by mikepenz over 5 years ago

  • introduces new Experimental DSL for the IconicsDrawable (API might still change)
  • introduce more extension functions to converters
  • deprecate old converters, introduce proper replace rule
  • deprecate old extension functions in IconicsDrawable class
  • refactor code to make use of new proper extension funcions

Font addons

implementation 'com.mikepenz:material-design-icons-dx-typeface:5.0.1.0-kotlin@aar'

(maven central sync still pending)

Android-Iconics - v4.0.0

Published by mikepenz over 5 years ago

WARNING

  • this release is fully migrated to kotlin
  • many breaking changes

MIGRATION core v3.x.x -> 4.x.x

Now libraries is kotlin-first

  • Font files
    • Font's store now based on default way to store fonts. (moved from common assets to font-specific resource assets)
  • Iconics
    • No context from now required. We get the application context via ContentProvider
  • Iconics.IconicsBuilder
    • Renamed to Iconics.Builder
    • Removed ctx(Context) method
  • IconicsDrawable
    • Replaced all *Res(int), *Px(int), *Dp(int) method to use IconicsSize and IconicsColor classes instead
    • Constants TOOLBAR_ICON_SIZE and TOOLBAR_ICON_PADDING moved to IconicsSize
    • All getters now have property-syntax
    • All producer-provided methods from Android-Iconics Kt are included in class and can return nullable value (value will be set only when not null)
    • enableShadowSupport(View) moved to IconicsUtils
  • All utils classes and typeface libraries now can not be instantiated
  • ITypeface
    • Method getTypeface(Context) replaced with field rawTypeface
    • Automatically retrieves raw font from file by provided fontRes (see GenericFont.kt if You wont to use old scheme)
  • Some package names for the icon fonts changes
  • Old icon fonts are no longer compatible, please update to the kotlin versions

Changes

  • Fully migrated to kotlin
  • Adjusted many APIs and cleanup
  • Add various kotlin extensions to simplify
  • New more advanced animation engine
  • ...

Depencencies

The following major dependency versions are required:

implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.x.y"
implementation "androidx.core:core-ktx:$versions.ktx.core"
implementation "androidx.appcompat:appcompat:1.x.y"
Android-Iconics - v4.0.0-rc02

Published by mikepenz over 5 years ago

WARNING

  • includes all changes of v4.0.0-rc01

Changes

  • removes kotlin reflect dependency
  • fixes community icons proguard specification
  • improves proguard rule
Android-Iconics - v3.2.5

Published by mikepenz over 5 years ago

  • additional stateList improvements for various colors
Android-Iconics - v4.0.0-rc01

Published by mikepenz over 5 years ago

WARNING

  • this release is the first release of Android-Iconics migrated to kotlin.
  • many breaking changes!

Changes

  • in construction
Android-Iconics - v3.2.4

Published by mikepenz over 5 years ago

Android-Iconics - v3.2.3

Published by mikepenz over 5 years ago

Package Rankings
Top 3.78% on Repo1.maven.org
Top 4.09% on Proxy.golang.org