Bearded-Hen / Android-Bootstrap

Bootstrap style widgets for Android, with Glyph Icons
MIT License
7.28k stars 1.43k forks source link

Should support fa-2x to double the icon size #146

Open azizimusa opened 8 years ago

azizimusa commented 8 years ago

If we doing like this "Search {fa-search}" there is no way to only make the icon appear larger without setting the whole text including icon larger. What i wanted is, to only make the icon appear larger. I tried {fa-search fa-2x} it caused error.

jamie-beardedhen commented 8 years ago

This would be a nice enhancement, it might also make sense to support arbitrary sizes specified in DP. I believe this can be achieved by changing the textSize for the TextPaint in AwesomeTypefaceSpan (and supporting the markdown changes)