JoanZapata / android-iconify

Android integration of multiple icon providers such as FontAwesome, Entypo, Typicons,...
http://joanzapata.com/android-iconify
Other
3.93k stars 526 forks source link

Combine two glyphs #73

Closed emce closed 9 years ago

emce commented 9 years ago

It would be fine if there would be ability to combine two glyphs, for example: fa_user + fa_plus as add user (second as superscript or something). Maybe some spannable, I'm doing some research, if I come up with something, I'll get back...

mikepenz commented 9 years ago

@emce great. if you this is required a easy solution would be using a relativelayout and within this layout you can overlap two imageviews

emce commented 9 years ago

But creating view over views is not good pattern.

mikepenz commented 9 years ago

@emce yeah i know. for the best implementation we would require a custom draw method within the drawable which would handle multiple icons.

mikepenz commented 9 years ago

@emce or you create a LayerList http://stackoverflow.com/a/2740198/325479