Closed gurachan closed 8 years ago
It would be a nice thing to have. Unfortunately I think it would be very complex.
Span
s are supported in preview mode.There are two reasons why this doesn't work:
I worked around these issues in the edX project thus:
@1zaman I'm sorry to hear that, it looks like a painful process.
Unfortunately I don't think that can be provided by the lib, so I'm closing this issue. Hopefully @Dj-jom2x you can now test a lot more faster with Instant Run
.
Yeah, the second issue could be solved by having the font module classes registered statically in a properties file which is read from a static initializer in the Iconify
class, but the first issue can't be solved from the library itself. I have logged a bug report on it at http://b.android.com/202208. Hopefully, it will be fixed in a future version of Studio, at which point this ticket might be reopened.
hmmm is it posible to render it on display ?
when you put android:text="{fa-envelope-o 19dp}"
it will only render on phone :( but not on preview
because i need to run and run to check if icons are perfectly align ..