Skip to content

Releases: mikepenz/Android-Iconics

v2.5.3

29 Dec 17:59
Compare
Choose a tag to compare

library

  • improve android-iconics core. It is now possible to apply Android-Iconics on a Spanned which already defines Spannables without removing them. They will stay applied after the icons are set.
    • keep previous defined spannables if iconics is applied on a view
    • changed from Spannable to Spanned to even allow more use cases
    • FIX mikepenz/AboutLibraries#182
  • add some more javadoc

sample

  • search over all icons FIX #116

general

  • update gradle tools to new alpha

v2.5.2

20 Dec 16:21
Compare
Choose a tag to compare

library

  • Add mappingPrefix validation

sample

  • Search is now searching over all icons, just drag out the drawer and you will see which icon fonts have still icons (badge gets updated with the filtered number)

v2.5.1

07 Dec 22:57
Compare
Choose a tag to compare

library

  • new constructor for GenericFont

sample

  • add new fonts
  • update fonts
  • split up the Google Material Icons and the Material Design Iconics font
  • order the fonts
  • more information in the drawer

font-addons

  • new font Devicon v2.0.0.1
  • new font Foundation Icons v3.0.0.1
  • new font Ionicons v2.0.1.1
  • updated font Fontawesome v4.5.0.1
  • split up Google Material Icons and Material Design Iconics
    • Google Material Icons are the original google icons with mapping prefix "gmd" and class name GoogleMaterial
    • Material Design Iconics is the custom pack with mapping prefix "gmi" and class name MaterialDesignIconic

v2.5.0

01 Dec 22:22
Compare
Choose a tag to compare

library

  • rename old IconicsLayoutInflator to InternalLayoutInflater and make private
  • add new IconicsLayoutInflater which can be used in AppCompatActivities or all activities which feature an AppCompatDelegate
    • this is also compatible with libs which wrap the basecontext like calligraphy
  • remove unnecessary methods

sample

  • change AutomaticActivity to showcase the new IconicsLayoutInflater
  • add new OldAutomaticActivity to showcase how to wrap the context for normal Activities which do not use an AppCompatDelegete / or do not extend from the AppCompatActivity
  • update to the latest materialDrawer

MIGRATION

2.x.y -> 2.5.0

  • there is now a new prefered solution to enable the Iconics features on Android base views like ImageViews, TextViews or all views which extend those.
    • instead of wrapping the baseContext you should now define the IconicsLayoutInflater as default LayoutInflater. This will also bring Calligraphy compatiblity (or to other libs which wrap the baseContext)
    • this requires an Activity extending the AppCompatActivity or implementing the AppCompatDelegate
@Override
protected void onCreate(Bundle savedInstanceState) {
    LayoutInflaterCompat.setFactory(getLayoutInflater(), new IconicsLayoutInflater(getDelegate()));
    //...
    super.onCreate(savedInstanceState);
    //...
}
  • if you do not wrap the BaseContext with a different lib, or do not extend from AppCompatActivity or do not implement AppCompatDelegate you can still wrap the baseContext
@Override
protected void attachBaseContext(Context newBase) {
    super.attachBaseContext(IconicsContextWrapper.wrap(newBase));
}

v2.2.1

26 Nov 18:53
Compare
Choose a tag to compare

library

  • update to gradle 2.9
  • update gradle to v2.0.0-alpha1 to enable instant run ;)
  • add new getters to get the icon from an IconicsDrawable
  • fix clone method of icon not creating an exact copy

font-addons

  • update Material Comunity Icon Font addon to v1.3.41.1

v2.2.0

15 Nov 13:08
Compare
Choose a tag to compare
<ImageView
    android:layout_width="48dp"
    android:layout_height="48dp"
    app:ico_color="@color/md_red_A200"
    app:ico_icon="gmd-plus-circle"
    app:ico_size="48dp" />

    //other possible attributes
    //app:ico_background_color="@android:color/transparent"
    //app:ico_color="@color/md_red_100"
    //app:ico_contour_color="@android:color/transparent"
    //app:ico_contour_width="0dp"
    //app:ico_corner_radius="0dp"
    //app:ico_icon="gmd-plus-circle"
    //app:ico_offset_x="0dp"
    //app:ico_offset_y="0dp"
    //app:ico_padding="0dp"
    //app:ico_size="48dp"

v2.1.1

14 Nov 19:58
Compare
Choose a tag to compare
  • update to latest android support libraries v23.1.1
  • two new icon addons

v2.1.0

05 Nov 23:02
Compare
Choose a tag to compare
  • completely rewrite the icon detection logic
  • provide 2 seperate implementations
    • editable --> will replace the placeholder within the editable with the correct mapped icons
    • spannable --> will build up a new Spannable with the mapped icons
  • automatically recheck new text on textViews and buttons for iconics icons
  • move out icon detection logic into the IconicsUtils
  • remove short methods again because they are not necessary anymore
  • change style methods to public to allow greater control
  • make automatic activity text a bit more complex to check more edge cases of the icon detection
  • remove update of the textView as this is now done automatically
  • add 2 more methods which will call the style methods (remove all non common params on them)
  • remove obsolete static on the Icon enum of the Octicons

v2.0.0

03 Nov 21:04
Compare
Choose a tag to compare

library

  • add new IconicsContextWrapper which allows you to automatically set the Iconics icon font for all TextViews and Buttons within your view
    • make IconicsLayoutInflator private
    • use the new short method syntax inside the IconicsFactory
  • add some new useful short methods inside the Iconcis class
    • Iconics.on
    • Iconics.update

font-addons

  • update Google Material Icon Font addon to v2.1.2.1
  • update Community Material Font addon to v1.2.65

sample-app

  • change icon name for new Google Material Icons mapping
  • add new AutomaticActivity to showcase the new automatic mapping for TextViews and Buttons via the IconicsContextWrapper

general

  • update to gradle 2.8
  • add info on how to modify the unicode char mapping of ttf's on a mac

v1.7.9

19 Oct 21:02
Compare
Choose a tag to compare
  • improve icon drawing. change to TextPoint and define default settings
  • return alpha in getOpacity method
  • override clearColorFilter
  • change dependency of core to appcompat-v7 v23.1.0
  • implement new IconicsCompatButton THANKS @aacanakin