Using fontStyle (outlined, regular, filled...) when available

Issue #78 new
Gabriel Paim created an issue

Hello there,

some fonts have the possibility to have different styles, such as FontAwesome and MaterialIcons. It would be nice if we could use different styles just by setting the style on IconView. For instance:

public MaterialIconView(MaterialIcon icon, MaterialIconStyle style, String iconSize) {
  // select font-family depending on style
}

public enum MaterialIconStyle {
  OUTLINED, FILLED, ROUNDED, SHARP, TWO_TONE
}

Ok, FontAwesome does not have all icons for different styles (on free license). Perhaps we could add this functionality just for MaterialIcons?

What are your thoughts on that?

Comments (3)

  1. Log in to comment